In the past, kings and queens often had absolute power over their domains, but today it is more common for them to serve only a ceremonial role within a constitutional system. However, regardless of how much power a monarch possesses, another question we can ask is, "How is the monarch chosen?" In many cases, the position is directly inherited, through a hereditary monarchy, for example, from father to eldest son. But in others, monarchs may be chosen by election.
A monarchy in which the king or queen is chosen from several candidates is known as an elective monarchy. Calling a system an elective monarchy does not imply that the monarch is elected popularly by all the people of the country; this is possible, but very rare. More often, an elected monarch is chosen by a select council or members of the aristocracy, and even then candidacy may be limited to people with certain qualifications or even to members of the current royal family.
Many hereditary monarchies in history began as elective ones. One well-known example was the Holy Roman Empire in medieval Europe, where in early years, the emperor was chosen freely by a council of nobles and clergymen. The leaders of the Kingdom of Kongo in Africa were also elected by a group of elites, and the Great Khan of the Mongol Empire was chosen by a council of chiefs. Much earlier in history, the kings of some ancient Greek and Roman city-states were elected directly by the people.
Today, elective monarchies are very rare, but a few do exist. In Malaysia's constitutional monarchy, the symbolic king is formally chosen from among hereditary rulers of nine traditional Malaysian states. Nearby, Cambodia's monarch is also elected, in that case by a special royal council. However, only candidates of royal blood are eligible. The small European nation of Andorra is an unusual case in which the president of France is automatically one of Andorra's two symbolic co-princes, meaning that the country has a monarch who is actually elected by a different country's people.
Perhaps the purest example of an elected monarchy today is Vatican City, even though its leader is not actually called a king. As a sovereign state administered by the Catholic Church, the microstate within Rome is ruled with absolute power by the Pope, who is elected by the College of Cardinals. These high-ranking clergymen, currently numbering about 200, usually choose the new Pope from among themselves, but any baptized Catholic male is eligible for the position.