Галицко-Волынское княжество
In the early times, it was inhabited by the ancient Baltic Yotvingian tribe. At various times, the city belonged to Kingdom of Galicia–Volhynia, the Grand Duchy of Lithuania, the Polish–Lithuanian Commonwealth, the Russian Empire, the Second Polish Republic, the Byelorussian SSR, and the Republic of Belarus.