Franz Joseph I of Austria
If Greater Germany was to prevail, the crown would necessarily have to go to Franz Joseph, who had no desire to cede it in the first place to anyone else. On the other hand, if the idea of a smaller Germany won out, the German crown could of course not possibly go the Emperor of Austria, but would naturally be offered to the head of the largest and most powerful German state outside of Austria—the King of Prussia. The contest between the two ideas, quickly developed into a contest between Austria and Prussia. After Prussia decisively won the Seven Weeks War, this question was solved; Austria lost no territories as long as they remained out of German affairs.
Austrian–Hungarian War (1477–1488)
The Austrian–Hungarian War was a military conflict between the Kingdom of Hungary under Mathias Corvinus and the Habsburg Archduchy of Austria under Frederick V (also Holy Roman Emperor as Frederick III). The war lasted from 1477 to 1488 and resulted in significant gains for Matthias, which humiliated Frederick, but which were reversed upon Matthias' sudden death in 1490.