Botswana is governed under the constitution of 1966. The president, who is both head of state and head of government, is indirectly elected to a five-year term and is eligible for a second term. There is a bicameral legislature. The House of Chiefs has 15 members, eight permanent and seven elected for five-year terms. The National Assembly has 63 members, 57 of whom are popularly elected and four appointed by the majority party (the president and attorney general serve as ex-officio members). Members of the National Assembly serve five-year terms and elect the president. Administratively, the country is divided into nine districts and five town councils.