Bolivia, which has had more than 190 revolutions and coups since it became independent in 1825, is governed under the constitution of 2009. The head of state and of government is the president, who is elected to five-year term. The bicameral legislature, the Plurinational Legislative Assembly, consists of an upper Chamber of Senators and a lower Chamber of Deputies. The 36 senators and 130 deputies are all elected for five-year terms. Administratively, Bolivia is divided into nine departments.