Slovenia is governed under the constitution of 1991. The president, who is the head of state, is elected by popular vote for a five-year term and is eligible for a second term. The government is headed by the prime minister, who is nominated by the president and elected by the National Assembly. There is a bicameral Parliament. Of the 90 members of the National Assembly, 40 are directly elected and 50 are elected on a proportional basis, all for four-year terms. Members of the 40-seat, advisory National Council are indirectly elected for five-year terms. Administratively, the country is divided into 182 municipalities and 11 urban municipalities.