The Treaty of Karlowitz was a significant peace agreement signed in 1699 between the Ottoman Empire and the Holy League, marking the end of the Great Turkish War. This treaty is essential in understanding the decline of Ottoman power in Europe, as it resulted in substantial territorial losses for the Ottomans and signified a shift in the balance of power between the empire and European states. It also set a precedent for future treaties that would further reshape European political boundaries.