Question: The Battle of Vienna took place at Kahlenberg Mountain near Vienna in which year, after the imperial city had been besieged by the Ottoman Empire for two months, In the ensuing war that lasted until 1699, the Ottomans lost almost all of Hungary to the Holy Roman Emperor Leopold I, was the Holy Roman Emperor, King of Hungary, Croatia, and Bohemia?
Sentence (from "Leopold I, Holy Roman Emperor"): The second son of Ferdinand III, Holy Roman Emperor, by his first wife, Maria Anna of Spain, Leopold became heir apparent in 1654 by the death of his elder brother Ferdinand IV.
Relevant evidence: No