The Maldives was long a sultanate, first under Dutch and then under British protection. It became a republic in 1968, three years after independence. President Maumoon Abdul GAYOOM dominated the islands' political scene for 30 years, elected to six successive terms by single-party referendums. Following riots in the capital Male in August 2004, the president and his government pledged to embark upon democratic reforms including a more representative political system and expanded political freedoms. Progress was sluggish, however, and many promised reforms were slow to be realized. Nonetheless, political parties were legalized in 2005. In June 2008, a constituent assembly - termed the "Special Majlis" - finalized a new constitution, which was ratified by the president in August. The first-ever presidential elections under a multi-candidate, multi-party system were held in October 2008. GAYOOM was defeated in a runoff poll by Mohamed NASHEED, a political activist who had been jailed several years earlier by the former regime. Challenges facing the new president include strengthening democracy and combating poverty and drug abuse.