At the peak of their power, the Polish–Lithuanian Commonwealth and Austria's Habsburg Monarchy enjoyed a very strong and cordial relationship. Polish hussars under the banner of John III Sobieski helped Austrians to fend off the Turks in the Battle of Vienna, and there were many internal and political exchanges between both states. However, Austria's participation in the Partitions of Poland with Prussia and Russia a century later strained relations. Several Polish uprisings against Austrian rule broke out in the Austrian-occupied part of Poland, the largest of which were the Austro-Polish War of 1809 and the Kraków uprising of 1846. Poles also joined the insurgencies of other nations against Austria, most notably Hungarians and Italians, during the Revolutions of 1848.