When the Ottoman Muhammad 'Ali assumed power of Cairo in the 1800s he had all the Mamluk buildings of the Citadel razed and the complex entirely rebuilt. The Citadel's appearance today is the vision of Muhammad 'Ali, particularly the mosque that bears his name. It was built between 1824 and 1848; the domes had to be rebuilt in the 1930s.