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?