Haiti is governed under the constitution of 1987 as amended; it was suspended and reinstated several times between 1988 and 2006, when the country returned to constitutional rule. The president is the head of state; the prime minister, who is appointed by the president and confirmed by the legislature, is the head of government. Most power resides with the president. Haiti has a bicameral legislature, the National Assembly, with a 30-seat Senate, whose members are elected to six-year terms, and a 99-seat Chamber of Deputies, whose members are elected to four-year terms. Administratively, the country is divided into 10 departments.