Kilmainham Gaol opened in 1796 as the new County Gaol for Dublin. It closed its doors in 1924. Today the building symbolises the tradition of militant and constitutional nationalism from the rebellion of 1798 to the Irish Civil War of 1922-23. Leaders of the rebellions of 1798, 1803, 1848,1867 and 1916 were detained and in some cases executed here. Many members of the Irish Republican movement during the Anglo-Irish War (1919-21) were also detained in Kilmainham Gaol, guarded by British troops. Kilmainham Gaol Museum is operated and managed by the Office of Public Works.