Great Turkish War
The long duration of the siege and cost to the Ottoman side, can be attributed to helping the decline of the Ottoman Empire, especially after the Great Turkish War.