The TREATY of PASAROFCA
.

Austria declared that; the island of Mora should have been given back to the Venetians according to the treaty of Karlofca. Silahtar Ali Pasha marched through Hungary with his army. However, the Austrian army commanded by Prince Ogen defeated the Ottoman Army, in 5th of August 1716, Grand Vizier Silahtar Ali Pasha had died. In 18th August 1717, Belgrade was invaded by the Austrians. Damat Ibrahim Pasha replaced Silahtar Ali Pasha and he requested peace. The Treaty of Pasarofca was signed, and Upper Serbia, Belgrade and the plateau of Banat were given to Austria. Dalmatian shores, Bosnia and Albania were left to the Venetian Knights, and the island of Mora was given to the Ottoman Empire. (1st of June, 1718)

In 1724, in Iran throne struggles were going on, Russia tried to benefit from this chaos and attacked Iran. To protect Iran, the Ottoman Army took a campaign to Iran. After this war the treaty of Istanbul was signed; and Azerbaijan was left to the Ottoman Empire, Derbent, Bacu and Dagistan were given to Russia.