The decisive battle fought near the pyramids of Giza that gave Napoleon control of Egypt. He took Alexandria by storm on 2 July, and then, with 40,000 men defeated a Mameluke army of 60,000 led by Murad Bey. The victory enabled Napoleon to take Cairo and allowed France to control Egypt until its withdrawal in 1801.