The Comoros is governed under the constitution of 2001. The president, who is head of state, is chosen from among the elected heads of the three main islands; the presidency rotates every five years. The government is headed by the prime minister, who is appointed by the president. The unicameral legislature consists of the 33-seat Assembly of the Union. Fifteen members are selected by the individual islands' local assemblies, and 18 are popularly elected. All serve five-year terms. Administratively, the country is divided into the three main islands and four municipalities.