Muhammad Ali of Egypt
The Ottomans constructed additions to the mosque, and the Egyptians under Muhammad Ali of Egypt reconstructed it in the 1830s.