In the late 18th century, only 2 of 76 countries in a historical dataset had both an elected parliament and an elected government: the United Kingdom and the United States. Most leaders elsewhere inherited power, seized it by force, or were chosen through deals among elites.
Over the next two centuries, elections spread until they became the world’s main way of choosing political leaders. That shift matters because it changed who could claim public authority. But elections alone do not make a country fully democratic, and the right to vote was long limited to a small share of the population. The history is one of major gains, won gradually and never guaranteed.
The Lexical Index project, created by political scientists Svend-Erik Skaaning, John Gerring, and Henrikas Bartusevičius, tracks whether countries elect both their governments and parliaments. Its record shows that the spread was uneven. Elections expanded quickly after World War I, in the late 1950s and 1960s, and again at the end of the 20th century. They fell back during World War II and in the early 1970s.
In 2025, 165 countries had elected parliaments and governments, while 34 did not. The total with elected institutions remains high, but it has dropped from a peak of 176 countries in 2016. In recent years, military coups and civil wars have brought down elected governments and parliaments in Afghanistan, Madagascar, Niger, and Sudan. Even with those reversals, leaders chosen through inheritance or violence have become rare compared with leaders chosen in elections.
Who gets to vote is another essential part of the story. Two centuries ago, voting was mostly a privilege of the powerful. As elections spread in the 19th century, the vote was often restricted to men, landowners or taxpayers, and people of a particular skin color or religion. Some countries, including France, Mexico, Switzerland, and Venezuela, broadened voting rights in the mid-1800s, but those early expansions were for men.
Over time, many legal barriers based on gender, income, and ethnicity fell away. Across most of the world, almost all adult citizens now have the legal right to vote. Restrictions based on age, citizenship, and criminal convictions remain in some places. And a legal right matters less when a country does not hold elections in practice, which is why the research considers both voting rights and whether governments and parliaments are elected.
The long view does not erase the problems facing democracies today. Expert surveys find that dozens of countries have become less democratic over the past decade, including in the fairness of elections, civil rights, and limits on political power. But the broader record shows how much has changed: elections and wider voting rights were built through partial victories as well as setbacks. Their survival depends on people and institutions continuing to defend and expand them.
