 He also, as Ibn Ayas mentioned, dedicated several waqfs from which he financed the construction works as well as the salaries of the soldiers.Throughout the Mameluke period, and due to its strategic location, the Citadel was well maintained by all the rulers who came after Qaitbay.The Sultan Qansuh al-Ghuri gave the Citadel special attention.