It was raided frequently by the Polish–Lithuanian Commonwealth and Crimean Khanate until the late 17th century and was ruled by the Polish–Lithuanian Commonwealth between 1611 and 1618.
Byen blev ofte angrebet af Den polsk-litauiske realunion og Krim-khanatet frem til slutningen af 1600-tallet og blev regeret af Polen-Litauen mellem 1611 og 1634.