 Complete the following phrase:  It is plausible that Trenčín Castle was founded during the Great Moravian era. In the beginning of the 11th century, the region was controlled by king Bolesław I the Brave of Poland. In 1017, Stephen I of Hungary conquered the region which remained part of Hungary until 1918. By the end of the 11th century, the castle became the administrative centre of Trencsén county in the Kingdom of Hungary. As one of the few stone castles in the country it resisted the disastrous 