Construction of the Melsztyn Castle was initiated in 1340, by the castellan of Kraków, Spicymir. In 1362, Bishop Bodzanta blessed the Holy Spirit chapel at the castle. The complex for 200 years remained in the hands of the powerful noble family of Leliwita Melsztyński, which in the late 14th century built a Gothic keep, located in the western wing of the castle. In the 15th century, Melsztyn was one of centers of Polish Hussite movement, and in 1511, Jan Melsztyński sold it to the castellan of Wiślica, Mikołaj Jordan of Myślenice. In ca. 1546, Spytek Jordan ordered remodeling of the Gothic complex, turning it into a Renaissance residence. After the marriages of his two daughters, Melsztyn became the property of the Tarło family, and in 1744, it came into the hands of the Lanckoroński family.
Melsztyn Castle was destroyed by the Russians in 1771, during the Bar Confederation, and has been a ruin since then. In 1789–1796, parts of the complex were pulled down, in order to gain building materials for a church at Domosławice. In the following years, the complex was neglected, which resulted in collapse of the keep (1846). In 1879-85, due to the efforts of Karol Lanckoroński, the castle gained the status of a permanent, protected ruin. Since 2008, it belongs to the gmina of Zakliczyn. The castle has been presented in paintings of Jan Matejko, Napoleon Orda, and Maciej Bogusz Steczyński.
References:Trenčín Castle is relatively large renovated castle, towering on a steep limestone cliff directly above the city of Trenčín. It is a dominant feature not only of Trenčín, but also of the entire Považie region. The castle is a national monument.
History of the castle cliff dates back to the Roman Empire, what is proved by the inscription on the castle cliff proclaiming the victory of Roman legion against Germans in the year 179.
Today’s castle was probably built on the hill-fort. The first proven building on the hill was the Great Moravian rotunda from the 9th century and later there was a stone residential tower, which served to protect the Kingdom of Hungary and the western border. In the late 13th century the castle became a property of Palatine Matúš Csák, who became Mr. of Váh and Tatras.
Matúš Csák of Trenčín built a tower, still known as Matthew’s, which is a dominant determinant of the whole building.