Great Turkish War
It was the last Polish-Tatar battle ever and the last Polish battle of the Great Turkish War: only months later the Treaty of Karlowitz was signed.