The capture of Jeddah happened in 1813 at the west Arabian port city of Jeddah as part of the Ottoman–Saudi War. 
Capture.
Mustafa Bey, the brother-in-law of Muhammad Ali Pasha advanced after taking Medina. The Meccan Shariff Ghalib ibn Musa'id, who wanted to get rid of Saudi rule and preferred Ottoman rule, sent messages to Mustafa Bey, inviting him to his towns, including Jeddah. Mustafa then dispatched a few hundred soldiers to capture the city while the main force was sent to capture Mecca. Jeddah capitulated without a fight in January 1813.
Aftermath.
In September 1813, Muhammad Ali Pasha arrived in Jeddah with a force of 2,000 infantry, 2,000 cavalry, and 8,000 camels. He was well received by the Meccan Shariff Ghalib ibn Musa'id, but this did not save him from arrest and exile, which happened in late 1813. After He was replaced, Jeddah became an important base for the fight against Saudis.
References.
 ;templatestyles src="Reflist/styles.css" / ;