Cape Verde is a stable semi-presidential representative democratic republic. It is among the most democratic nations in Africa, ranking 26th in the world, according to the ''2018 Democracy Index''. The constitution – adopted in 1980 and revised in 1992, 1995 and 1999 – defines the basic principles of its government. The president is the head of state and is elected by popular vote for a 5-year term.