[3] The Qaitbay Citadel in Alexandria is considered one of the most important defensive strongholds, not only in Egypt, but also along the Mediterranean Sea coast.
About 1480 AD, the Circassian Mameluke Sultan Al-Ashraf Qaitbay fortified the place as part of his coastal defensive edifices against the Turks, who were threatening Egypt at that time.
Qaitbay was so fond of art and architecture that he created an important post among the administrative system of the state; it was the Edifices Mason (Shady Al-Ama'er).
In 882 AH (1477 AD) the Sultan Qaitbay visited the site of the old lighthouse in Alexandria and ordered a fortress to be built on its foundations.
The construction lasted about 2 years, and it is said that Qaitbay spent more than a hundred thousand gold dinars for the work on the Citadel.
He also, as Ibn Ayas mentioned, dedicated several waqfs from which he financed the construction works as well as the salaries of the soldiers.
When he felt the approach of the Ottoman threat, he issued a military decree to forbid weapons to be taken out of the Citadel, he even announced that the death penalty would be the punishment to those who try to steal anything from the Citadel, and he ordered the inscription of this decree on a marble slate fixed to the door leading the court.
Dated Rabei Alawal 907 H.After the Ottoman Turks had conquered Egypt, even they cared for this unique Citadel.
When Muhammad Ali Pasha became the ruler of Egypt in 1805, he renovated the old Citadel, restoring and repairing its outer ramparts, and he provided the stronghold with the most modern weapons of the period, particularly the littoral cannons.
The Citadel retained the interest of Mohammed Ali's successors until the year 1882 when the Orabi Revolt took place.
The British fleet bombarded Alexandria on 11 July 1882 and damaged a large part of the city, especially in the area of the Citadel.
The north and western facades were severely damaged as a result of cannon explosions, aimed directly at the structure.
King Farouk wanted to turn the Citadel into a royal rest house so he ordered a rapid renovation on it.