Polish–Ottoman War (1672–76) or the Second Polish–Ottoman War was a conflict between the Polish-Lithuanian Commonwealth and the Ottoman Empire, as a precursor of the Great Turkish War. It ended in 1676 with the Treaty of Żurawno and the Commonwealth ceding control of most of its Ukraine territories to the Empire.