 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.