In the history of Baghdad, the period from 1638 to 1704 began with the Fall of Baghdad after the Ottoman Empire occupied the city from the Safavid.
[1] It ended with the Hasan Pasha got power and also became the first Mamluk ruler of Baghdad on 1704.
[2] Kashik Hassan Pasha was a first Ottoman Governor of Baghdad, and Youssef Pasha was the last