Portugal is a semi-presidential republic with a head of government – the prime minister – and a head of state – the president – who has power to appoint the prime minister and other government members. The country is administratively divided into 308 municipalities, subdivided into 3,092 civil parishes. Operationally, the only legally identifiable local administrative units are the municipality and civil parish, and the national government.