 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.Within a few months, the Terebovlian Andrzej Tęczyński - a castellan of the then Polish capital of Krakow - rebuilt it at his own expense.