[1] Initial construction of the Mahmoudiya Mosque is said to have occurred in 1730 on the orders of governor Sheikh Muhammad al-Khalili.
A sabil (fountain), embedded in the southern wall of the mosque, is attributed to Sulayman Pasha, governor of Acre in the late 18th and early 19th centuries.
[1] Most of the current mosque was built in 1812 by the Ottoman governor of Gaza and Jaffa, Muhammad Abu-Nabbut.
The main courtyard, located in the western part of the mosque, with its arcades and large rectangular prayer hall covered by two big shallow domes, and with its slender minaret are accredited to him.
In the middle of the 19th century, the walls of Jaffa were gradually dismantled thus allowing for another major addition to the mosque to be made.