Emperor
The first Austrian Emperor was the last Holy Roman Emperor Francis II. In the face of aggressions by Napoleon, Francis feared for the future of the Holy Roman Empire. He wished to maintain his and his family's Imperial status in the event that the Holy Roman Empire should be dissolved, as it indeed was in 1806 when an Austrian-led army suffered a humiliating defeat at the Battle of Austerlitz. After which, the victorious Napoleon proceeded to dismantle the old "Reich" by severing a good portion from the empire and turning it into a separate Confederation of the Rhine. With the size of his imperial realm significantly reduced, Francis II, "Holy Roman Emperor" became Francis I, "Emperor of Austria". The new imperial title may have sounded less prestigious than the old one, but Francis' dynasty continued to rule from Austria and a Habsburg monarch was still an emperor ("Kaiser"), and not just merely a king ("König"), in name.
Henry IV, Holy Roman Emperor
The Romans soon fell away from their allegiance to the pope. Recalled to the city, Henry entered Rome in March 1084, after which Gregory was declared deposed and Antipope Clement III was elected by the Romans. On 31 March 1084 Henry was crowned emperor by Clement and received the patrician authority. His next step was to attack the fortresses still in the hands of Gregory. The pope was saved by the advance of Robert Guiscard, duke of Apulia, who left the siege of Durazzo and marched towards Rome: Henry left the city and Gregory was freed. Gregory soon died at Salerno, in 1085, but not before a last letter in which he exhorted the whole of Christianity to a crusade against the Emperor.