It was damaged by supporters of King James II &amp; VII in 1689 during the Williamite War. A century later, in 1798, the castle was attacked again, this time by the United Irishmen, three of whom were killed during the Irish Rebellion of 1798. The castle was destroyed in an accidental fire in 1838.