In 1517, the Ottoman Turks conquered the Mamluk Sultanate in Egypt and Syria, during the reign of Selim I. As territories of the Mamluk Sultanate, the Hijaz, including Jeddah and the holy city of Mecca, passed into Ottoman possession.
The Ottomans rebuilt the weak walls of Jeddah in 1525 following the defense of the city against the Lopo Soares de Albergaria's Armada arriving from the Red Sea.
The new Turkish wall included six watchtowers and six city gates.
They were constructed to defend against the Portuguese attack.
Of the six gates, the Gate of Mecca was the eastern gate and the Gate of Al-Magharibah, facing the port, was the western gate.
The Gate of Sharif faced south.
The other gates were the Gate of Al-Bunt, Gate of Al-Sham (also called Gate of Al-Sharaf) and Gate of Medina, facing north.
The Turks also built The Qishla of Jeddah, a small castle for the city soldiers.
In the 19th century these seven gates were minimized into four giant gates with four towers.
These giant gates were the Gate of Sham to the north, the Gate of Mecca to the east, the Gate of Sharif to the south, and the Gate of Al-Magharibah on the sea side.

Ahmed Al-Jazzar, the Ottoman military man mainly known for his role in the Siege of Acre, spent the earlier part of his career at Jeddah.
In Jeddah in 1750, he killed some seventy rioting nomads in retaliation for the killing of his commander, Abdullah Beg, earning him the nickname "Jezzar" (butcher).

On 15 June 1858, rioting in the city, believed to have been instigated by a former police chief in reaction to British policy in the Red Sea, led to the massacre of 25 Christians, including the British and French consuls, members of their families, and wealthy Greek merchants.
The British frigate HMS Cyclops, anchored at port, bombarded the city for two days in retaliation.
In 1517, the Ottoman Turks conquered the Mamluk Sultanate in Egypt and Syria, during the reign of Selim I. As territories of the Mamluk Sultanate, the Hijaz, including Jeddah and the holy city of Mecca, passed into Ottoman possession. The Ottomans rebuilt the weak walls of Jeddah in 1525 following the defense of the city against the Lopo Soares de Albergaria's Armada arriving from the Red Sea. The new Turkish wall included six watchtowers and six city gates. They were constructed to defend against the Portuguese attack. Of the six gates, the Gate of Mecca was the eastern gate and the Gate of Al-Magharibah, facing the port, was the western gate. The Gate of Sharif faced south. The other gates were the Gate of Al-Bunt, Gate of Al-Sham (also called Gate of Al-Sharaf) and Gate of Medina, facing north. The Turks also built The Qishla of Jeddah, a small castle for the city soldiers. In the 19th century these seven gates were minimized into four giant gates with four towers. These giant gates were the Gate of Sham to the north, the Gate of Mecca to the east, the Gate of Sharif to the south, and the Gate of Al-Magharibah on the sea side.
Ahmed Al-Jazzar, the Ottoman military man mainly known for his role in the Siege of Acre, spent the earlier part of his career at Jeddah. In Jeddah in 1750, he killed some seventy rioting nomads in retaliation for the killing of his commander, Abdullah Beg, earning him the nickname "Jezzar" (butcher).
On 15 June 1858, rioting in the city, believed to have been instigated by a former police chief in reaction to British policy in the Red Sea, led to the massacre of 25 Christians, including the British and French consuls, members of their families, and wealthy Greek merchants. The British frigate HMS Cyclops, anchored at port, bombarded the city for two days in retaliation.
Jeddah