Crowned in 962, Otto I's Holy Roman Empire centered on Germany with northern Italy attached; emperors were chosen by electors and crowned by the pope, claiming the mantle of Roman law. Empire and papacy wrestled through the Middle Ages (Humiliation of Canossa, Concordat of Worms) as the Hohenstaufen and then the Habsburg lines held the throne; the Golden Bull of 1356 fixed the seven electors, and the empire grew ever looser. After the Thirty Years War (1618-1648) it survived in name, the Habsburgs holding the crown in succession. When Napoleon took the imperial title in 1804, Francis II dissolved the empire (1806) in favor of the Austrian Empire. Voltaire mocked it as 'neither holy, nor Roman, nor an empire'; yet its thousand-year tradition anchored German political identity.