Terebovlia Castle  Terebovlia castle is a ruined 17th-century castle in the town of Terebovlia in western Ukraine. The ruins are located on the edge of canyon, near its mouth to Seret River. The fortification, the remains of which can still be seen, was built in the 1630s under the leadership of the Terebovlian starosta . There have been at least three fortresses on the castle hill in Terebovlia. The first historical castle in the town, mentioned in the Old Russian writing Primary Chronicle, was a castle erected in 9th/10th century. The city achieved its greatest power during the reign of Prince Vasylko Rostyslavych, the great-grandson of the Grand Duke of Kiev Yaroslav the Wise. Prince Vasylko Rostyslavych's fortress was a wooden, enclosed palisade, and only the castle church within it was built of stone. The fortress had several defensive lines, but there was no water well. Archeologists suggest that the water was brought here underground or simply filled the reservoirs. This original castle was not like the one that has survived until now. Even the entrance to it was not from the east, as it is now, but from the north - from the modern park. There were cellars under the castle. After the death of Vasylko Rostyslavych in 1124, the Principality of Terebovlia became part of the Principality of Halych, and later part of the Halych-Volhynia principality. With the reign of Vladimir Igorevich of the Izyaslavych family, Terebovlya regained its independence. 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. In 1346 the Polish king Casimir III the Great rebuilt the fortress. Little is known about this newer castle, but it was stone and walled. In 1448 Kazimierz Jagiellończyk stayed here. In 1534, the castle was extended by Andrzej Tęczyński. During the 15th and 16th centuries Terebovlya fortress declined in importance due to constant attacks by Tatars.