By Natalia Antelava
BBC News, Bishkek
The parliament in the central Asian Republic of Kyrgyzstan has adopted a new constitution curbing presidential power and boosting that of legislators.
Scene of protest in Bishkek have turned to scenes of celebration
The parliament session follows a week of protests in the capital, Bishkek.
Cheers and applause filled the parliamentary chamber as the majority of the MPs passed the new constitution. It still needs to be signed by President Kurmanbek Bakiyev, but legislators say that is now a mere formality.
For a year-and-a-half President Bakiyev has delayed this process.
TULIP REVOLUTION WILTS
March 2005 - Former President Akayev ousted in popular protest
July - Kurmanbek Bakiyev elected President
April 2006 - Thousands protest for end to corruption and crime
November - Opposition calls for constitutional reform and curbing of presidential powers
But last week the opposition brought thousands of supporters to the streets, set up tents in the main square and announced that they would not leave until President Bakiyev agreed to the new constitution.
They said this was his main promise when he ousted his predecessor in 2005.
The pressure on Mr Bakiyev increased as the opposition managed to secure the support of two-thirds of Kyrgyzstan's legislators and, after a day of intense negotiations on Wednesday, Mr Bakiyev agreed to the changes.
This is an unprecedented event in the region where political change is so often violent.
Those who are still celebrating in the streets of Bishkek say they hope that this victory will open a door to many more changes and reforms.