One of the most glorious parts of the town history is linked with the war of independence in 1703 that was called into being against Habsburgs by Prince Ferenc Rákóczi II. The Prince convened the Diet into our town in September 1705, where he was elected the ruling Prince of Transylvania and commander-in chief of the Hungarian insurgent forces. Although the war of independence failed, the inhabitants of the town still treasure the Prince's memory. Many town institutions bear his name.