The Government of Liberia is structured like that of the United States, with executive, legislative, and judicial branches. Political parties were legalized in 1984, leading to civilian rule in 1986. However, political unrest from the mid-1990s to early 2000s disrupted stability until a 2003 power-sharing agreement established a National Transitional Government (NTG) supported by UN peacekeeping troops. This government replaced the 1986 constitution administration and lasted until a democratically elected government was formed in 2006. Liberia operates as a multiparty republic, with the president serving as head of state and government for a six-year term, and a bicameral National Assembly elected for six- and nine-year terms. The country is divided into 15 counties, each led by a presidentially appointed superintendent.