The Battle of Nezib (present-day Nizip) was fought on June 24, 1839 between Egypt and the Ottoman Empire. The Egyptians were led by Ibrahim Pasha, while the Ottomans were led by Hafiz Osman Pasha, with Moltke in command of the Ottoman artillery. The Ottoman were positioned at Mezar, southwest of Nezib, with the Nezib river on their left. Ibrahim advanced his force, under heavy Ottoman artillery fire, towards the Ottoman lines. At the same time, the Ottoman line began to take Egyptian artillery fire, and were suffering losses. By the time Ibrahim's infantry had encountered the Ottoman line, Hafiz's army was in complete rout, the Egyptian artillery having broken their morale.