The fountain/sabil was originally built in 1455 on the orders of the
Mamluk sultan
Sayf ad-Din Inal.The fountain where the Fountain of Qayt Bay is located today; nothing remains of this original Fountain of
Sayf ad-Din Inal. In 1482 (AH 887), then Sultan al-Ashraf Qaytbay (r. AH 872–901 / AD 1468–96) completely renovated the structure and made it an extension to his neighbouring Madrasa al-Ashrafiyya, which Qaytbay had ordered built to replace another earlier Mamluk building (in this case, a madrasa built by Sultan Khusqadam in 1465). It is probable that the same team of engineers, architects and builders constructed both the Madrasa al-Ashrafiyya and the Fountain of Qayt Bay, and that they were sent by Sultan Qaytbay from Egypt to Quds to execute the work. The fountain was constructed in a style mostly seen in
Egypt, characteristic of the late
Burji Mamluk architecture of Qaytbay's period. In 1882–83, the
Ottoman sultan
Abdul Hamid II restored the fountain and made some additions to it. The fountain which is still used continues to provide visitors to the al-Haram al-Sharif with fresh water. ==Architecture==