Brimming with confidence after their victories over the Russians in 1711 (Pruth River Campaign) and over the Venetians in 1715 (Ottoman–Venetian War (1714–1718)), the Ottomans declared war on the Habsburg Monarchy in 1716 and marched north from Belgrade in July under the command of Grand Vizier Ali Pasha. The invasion was a catastrophe, however, and the Ottoman army was utterly destroyed and the Grand Vizier slain at the battle of Petrovaradin in August by an outnumbered Austrian army under the command of Prince Eugene of Savoy, who went on to capture Belgrade a year later. At the subsequent Treaty of Passarowitz in 1718, the Austrians gained possession of the Banat, Serbia and Oltenia.