Answer
The War of the Holy League, also called the Ottoman–Venetian War, was fought between the Ottoman Empire and a coalition of European states led by the Republic of Venice. It was ongoing during the time of Mehmed IV's overthrow. The conflict centered around Venetian attempts to regain territories in Crete, Morea, and Dalmatia lost to the Ottomans in previous wars.