Iran is a theocratic Islamic republic governed under the constitution of 1979 as amended. Appointed, rather than elected, offices and bodies hold the real power in the government. The supreme leader, who effectively serves as the head of state, is appointed for life by an Islamic religious advisory board (the Assembly of Experts). The supreme leader oversees the military and judiciary and appoints members of the Guardian Council and the Expediency Discernment Council. The former, some of whose members are appointed by the judiciary and approved by parliament, works in close conjunction with the government and must approve both candidates for political office and legislation passed by parliament. The latter is a body responsible for resolving disputes between parliament and the Guardian Council over legislation. The president, who is popularly elected for a four-year term, serves as the head of government. The unicameral legislature consists of the 290-seat Islamic Consultative Assembly, whose members are elected by popular vote for four-year terms. Administratively, Iran is divided into 30 provinces.