Polish-Cossack-Tatar War was the war between the Polish–Lithuanian Commonwealth and the Ottoman Empire (in practice, a proxy war between the Cossack Hetmanate and Crimean Khanate) over Ukraine. It was one of the aftermaths of the Russo-Polish War (1654–1667) and a prelude to the Polish–Ottoman War (1672–1676).