In Europe, the Holy Roman Empire was an elective monarchy, but for many hundreds of years, only the head of the Habsburg family was elected. In 1806, the Holy Roman Emperor abolished the empire and instead became the Emperor of Austria-Hungary, a hereditary monarch.