The Battle of Jeddah was fought in 1813 in Jeddah (Cidde), in western Arabia. The army of Tusun Pasha arrived from Medina, and a new army led by his father Mohammed Ali Pasha arrived from Egypt. The Egyptian forces captured the city immediately, and the Ottoman-appointed Sharif was sent to Istanbul as a prisoner. A few days later these forces captured Mecca itself, and Sultan Mahmud II restored Ghalib Afandi as the Sharif of Hejaz.