The castle of Ajnácskő (Hajnácka, Pirsenstein) is located on the Felvidék aka Upper Hungary/Horná Zem/, now it is in Slovakia. It is in Gömör County, right at the present Hungarian-Slovakian border, not far from Rimaszombat and Fülek. Its name is coming from the Hungarian name Ajnács (the name allegedly has a Turkish origin, ‘ojnas’ and it stands for “flirtatious” in English but it is not proven yet). Legend says that the Hungarian home-taker chief called Huba gave the castle to his daughter, Hajnácska in the 9th century. Its castle was built after the Mongolian invasion by Bata and was first mentioned in 1247.
It was owned by the Szécsényi family in 1424 when King Zsigmond of Hungary took it away from them because its lord, Miklós of Salgó, was forging money in it. The king gave the castle to his queen, Borbála of Cillei. It was a center of a small dominium and 15 villages belonged to it in the 15th century. Later, the Pálóczy family got the castle but the Bohemian Hussites took it in the 1450s. When they were driven out, the Pálóczy family was restored into it. The last of the Pálóczy family member, Antal, died in the Battle of Mohács in 1526 so the castle went to the robber knight Bebek Ferenc. Lord Balassa Menyhért owned it after him, but in the 1540s the castle changed hands rapidly: the Kubinyi and the Feledy families also owned it.
You can read about the famous battle of Szalka in 1544, won by Lord Balassa Menyhárt here:
The Ottomans threatened the area with constant raids and they could take the castle for a full year in 1546. Later the castle was guarded by the king’s men but after the fall of Fülek castle (1554), their situation has become serious. Pasha Arslan of Buda set out in 1566 to take the castle of Palota. He laid a siege on Ajnácskő castle just to divert the attention from his real target. Thus, the Turks quickly took the small castle. They could even keep it, according to the Treaty of Drinapolis in 1568, along with Putnok castle. When Cristopher Teuffenbach and Captain Pálffy Miklós were launching their campaign against the Ottoman castles in Upper Hungary in 1593, they took back Fülek and Ajnácskő, too. After this time, the castle went to the Lórántffy family.
(Note, I am using the Eastern name order for Hungarian names so the family names come first…) When Fülek castle opened its gate before Rhédey Ferenc, the general of Prince Bocskai in 1605, Ajnácskő followed suit. Later the Lórántffy and the Vécsey families divided the castle between them. The castle changed lords again, the Kubinyi and the Széchy families owned it in the following years.
King Habsburg Ferdinand II gifted it to Bosnyák Tamás, the captain of Fülek, in 1628. Later, it was not considered as an important Borderland castle anymore. Maybe that was why the Turks could take it by assaulting it in 1645. They had been using it as a center for raiding the area for four years. When Captain Fekete György set out to take it with a strong Christian army, Bey Hassan didn’t wait for him but had the castle exploded and put the village on fire and fled in 1649. The Hungarians had it restored a little and garrisoned it.
The small castle was given to Vécsey Sándor and the following villages belonged to it: Ajnácskő, Feled, Gesztete, Kerekgede, Csoma, Majom, Jelene, Cserencsény, Alsó and Felsőpokorágy, Rimabrézó, Likér, Rimoca, Szelce, and Rimabánya. We know of a letter of the peasants from 1681 when they complained to their lord because they were forced to carry heavy sacks to the castle. Vécsey Sándor took part with his soldiers in an action against the Ottomans of Eger in 1687. The castle burned down in 1703 and its garrison joined the troops of Prince Ferenc Rákóczi in the high hope of getting rid of the Habsburgs for good…
Here are a few pictures of Ajnácskő, mostly from http://www.varak.hu
You can support my work if you happen to click on an Amazon advertisement in my article and end up buying anything: then, Amazon would give me 1-2% of your purchase. At least they said so. Thank you very much.)