According to the CIA World Factbook, Panama's government is a constitutional democracy. The country's government has executive, legislative and judicial branches. Members of the legislative and executive branches are elected while judges are appointed by the executive.
Presidential elections occur every five years in Panama, and candidates for the high office run on a ticket with a vice-presidential candidate. The president appoints a cabinet in charge of government agencies. The legislative branch consists of the unicameral National Assembly, whose members are elected to five-year terms as well. Elections in districts with low population are decided by plurality, and those in high-population districts are decided by a proportion-based formula. Justices of the Supreme Court of Justice are appointed to staggered 10-year terms by the president. A dictatorship until 1990, Panama has since seen a number of peaceful, democratic transfers of political power.