Question: What treaty ended the war in which the Battle of Vác was fought?
Sentence (from "Great Turkish War"): The war was a defeat for the Ottoman Empire, which for the first time lost large amounts of territory.
Relevant evidence: No