Holy Roman Empire
The empire was dissolved on 6 August 1806, when the last Holy Roman Emperor Francis II (from 1804, Emperor Francis I of Austria) abdicated, following a military defeat by the French under Napoleon at Austerlitz (see Treaty of Pressburg). Napoleon reorganized much of the Empire into the Confederation of the Rhine, a French satellite. Francis' House of Habsburg-Lorraine survived the demise of the empire, continuing to reign as Emperors of Austria and Kings of Hungary until the Habsburg empire's final dissolution in 1918 in the aftermath of World War I.
State church of the Roman Empire
By 476 the Germanic chieftain Odoacer had conquered Italy and deposed the last western emperor, Romulus Augustus, though he nominally submitted to the authority of Constantinople. The Arian Germanic tribes established their own systems of churches and bishops in the western provinces but were generally tolerant of the population who chose to remain in communion with the imperial church.