The country is governed under a transitional constitution that took effect with independence in 2011. The president, who is popularly elected for a four-year term, is both head of state and head of government; his cabinet must be approved by the National Legislative Assembly. The National Legislature consists of the National Legislative Assembly, whose 332 members serve four-year terms, and a Council of States, whose 50 members also serve four-year terms. The judicial branch is headed by the Supreme Court. Administratively, South Sudan is divided into 10 states.