The Citadel, which sits atop Gellert Hill, was constructed by the Hapsburgs following the failed Hungarian War of Independence.

It was thought that its prime strategic position would make it easy to control both Buda and Pest, should any future uprisings occur.

Troops were stationed at the Citadel until 1897. Soviet forces once again used the fortress to control the city during the 1956 Hungarian Revolution, and tanks which were situated there fired down on the city.