In historical records the village was first mentioned in 1230 (CastrumSalis) as an important fortress. In 1270 King Stephen V of Hungary gave the castle to Master Reinhold. The new lords of Slanec supported King Přemysl Otakar II against King Ladislav in the conquest of the Bohemian throne. King Ladislav conquered Slanec in 1281. In 1299 the castle passed to the Szalanczyi noble family and, successively, to landowners by the surnames of Lossonczy and Forgách. In 1649, it was besieged by the rebel condottiere György Rákoczi.
Geography
The village lies at an altitude of 345 metres and covers an area of 20.459 km². The municipality has a population of about 1310 people.