Francis II Rákóczi
The fortification, augmented in the 16th and 17th centuries, underwent numerous sieges (the last one by Francis II Rákóczi in 1703-04) but was never taken. In the 18th century, it was modernised under the supervision of Lemaire, a military engineer from France.