Era of the Slovakian castles started in the 13-th century when almost one third of population what lived in territory of today Slovakia has been wiped out during invasion of Mongols.
From then the kings and aristocracy started to build castles in every strategic location throughout whole country. In total it was about 300 catles and fortresess.