Among the many gems of Hrvatsko Zagorje, the historic Croatian town of Krapina stands out, together with its famous fortress situated on a hill. The name Krapina was first mentioned in written documents at the end of 1193, while a developed urban settlement of the same name has been recorded since the mid-14th century. An organised settlement already existed on the site of today’s old town during the Bronze Age, specifically in the period of the so-called Urnfield culture, as confirmed by numerous archaeological finds.
For the period from the end of the 12th century to the middle of the 14th century, no original written documents concerning the development of medieval Krapina or the fortress of the same name have yet been found.
In the 13th century, a royal fortress (burg) was mentioned when the Croatian-Hungarian king Béla IV of the Árpád dynasty stayed in Krapina. In the mid-14th century, the town and fortress came under the rule of the Croatian-Hungarian king Louis I of Anjou, who granted privileges to Croatian towns and market towns, including Krapina. These privileges essentially exempted towns and market settlements from the authority of the nobility, abolished monetary and in-kind dues payable to noblemen, and granted the right to internal self-government and freedom of trade.
After the death of King Louis, Krapina was inherited by King Sigismund of Luxembourg, who granted it to Count Hermann of Celje as a reward for his assistance in saving the king’s life. King Sigismund married Hermann’s daughter Barbara of Celje, known in folk tradition as the Black Queen. Their wedding took place in Krapina in 1405.
The owners of Krapina changed frequently. King Matthias Corvinus also came into possession of Krapina and granted it to Ban Ivan Vitovec. After Vitovec rebelled against the king, Matthias gave Krapina to his son John Corvinus, who died shortly afterwards. His widow, Beatrice Frankopan, married the Margrave of Brandenburg, who, because of his extravagance, lost the castle and sold it to Petar Keglević, Ban of Jajce, which led to numerous legal disputes.
At the end of the 16th century, the Drašković family appeared as co-owners of the town. During the tenure of Ban Ivan Drašković, five sessions of the Croatian Parliament were held in Krapina, in 1598, 1599, 1600, 1605 and 1607.
From 1610 onwards, the Keglević family became the sole owners of Krapina, while the final lords of the town were the Lichtenberg and Ottenfels families.