The Holy Roman emperor’s power was chipped away gradually, starting with the Investiture Controversy in the 11th century, and by the 16th century the empire was so decentralized that it was little more than a loose federation. The empire came to an end in 1806, when Francis II abdicated his title as Holy Roman emperor in the face of Napoleon’s rise to power.