[3] Construction on the mosque first began in 1599 under the supervision of Hassan Pasha who governed Baghdad under the Ottoman Empire between 1594 and 1603.
The Pasha renewed the architecture of the mosque and established a scientific madrasa that taught rational and communicative sciences.
[3] Later in 1604, a famous coffeehouse was built next to the mosque that overlooked the Tigris River and was named the "Hassan Pasha Café.
"[4] In 1686, an army officer named "Ahmed Agha" was ordered to rebuild the western side of the mosque.
The mosque contains a traditional Iraqi minaret in addition to a dome covered with glazed tiles and marble.
Once entering the mosque, a wide courtyard that reaches more than 1000 square meters is found in the company with walls decorated with motifs and writings.