Flags of the Holy Roman Empire
In 1804, Napoleon Bonaparte declared the First French Empire. In response to this, Emperor Francis II of the Habsburg dynasty declared his personal domain to be the Austrian Empire and became Francis I of Austria. Taking the colours of the banner of the Holy Roman Emperor, the flag of the Austrian Empire was black and gold. Francis II was the last Holy Roman Emperor, with Napoleon forcing the empire's dissolution in 1806. After this point, these colours continued to be used as the flag of Austria until 1918.
Roman emperor
This line of Emperors lasted until 1806 when Francis II dissolved the Empire during the Napoleonic Wars. Despite the existence of later potentates styling themselves "emperor", such as the Napoleons, the Habsburg Emperors of Austria, and the Hohenzollern heads of the German Reich, this marked the end of the Western Empire. Although there is a living heir, Karl von Habsburg, to the Habsburg dynasty, as well as a Pope and pretenders to the positions of the electors, and although all the medieval coronation regalia are still preserved in Austria, the legal abolition of all aristocratic prerogatives of the former electors and the imposition of republican constitutions in Germany and Austria render quite remote any potential for a revival of the Holy Roman Empire.