 However, in 1211, in the battle with the Magyars, the prince was captured and executed along with his brothers and father.In those days, the wooden walls of the castle were replaced by stone, but in 1241 Terebovlia was completely destroyed by the hordes of Batu Khan.In 1341 the city is already mentioned as being conquered by the Poles.