Selim II
The building of the mosque was jointly endowed by Shahsultan and her second husband, the Bosnian born vizier, Zal Mahmud Pasha. Both had died in 1577. Shahsultan was one of the daughters of the sultan Selim II and his wife Nurbanu Sultan. After the death of Shahsultan's first husband in 1574 she married Zal Mahmud Pasha who in 1553 under Suleiman I's orders had strangled Şehzade Mustafa, a half-brother of Selim II and Suleiman's eldest son.