 In 1798 Napoleon Bonaparte's army occupied the Ottoman province of Egypt and killed roughly 3000 Egyptians.Although the occupation was only three years, followed by lingering hostility to the French, the experience ultimately exposed the Egyptian people to Enlightenment ideas and Europe's new technology.The exposure to European power and ideas would later inspire the new governor of Egypt, Muhammad Ali, to draw on this technology to modernize Egypt, setting an example for the rest of the Ottoman Empire.