Question: Who/what had the control during this time? 
Sentence (from "Treaty of Karlowitz"): The Treaty of Karlowitz was signed on 26 January 1699 in Sremski Karlovci, in modern-day Serbia, concluding the Austro-Ottoman War of 1683–97 in which the Ottoman side had been defeated at the Battle of Zenta.
Relevant evidence: Yes