Modern Egyptian history is generally believed to begin with the French expedition in Egypt led by Napoleon Bonaparte in 1798. The French defeated a Mamluk era army at the Battle of the Pyramids, and soon they were able to seize control of the country.