"Kodak" was captured by Zaporozhian Cossacks on 1 October 1648, and was garrisoned by the Cossacks until its demolition in accordance with the Treaty of the Pruth in 1711.The ruins of the Kodak are visible now.