Treaty of Karlowitz
On October 17, 1672, Poland signed the Treaty of Buczacz, wherein Poland and Lithuania agreed to pay a yearly tribute of 22,000 ducats to the Turks. Kamieniec returned to Poland in 1699, following the Treaty of Karlowitz.