Finland is governed under the constitution of 2000. The president, who is the head of state, is elected by popular vote to a six-year term and is eligible for a second term. The new constitution reduced the powers of the president, who previously was responsible for foreign affairs. The prime minister, appointed by the president from the parliamentary majority and confirmed by Parliament, is the head of government. Legislation is enacted by the unicameral Parliament ( Eduskunta ), whose 200 members are elected to four-year terms by a system of proportional representation. Administratively the country is divided into six provinces.