In early 1798, the Directory, the oligarchy that was ruling revolutionary France, ordered its top general, Napoleon Bonaparte, to plan the invasion of England. Instead, Napoleon organized and carried out the invasion of Egypt, which became the first modern incursion by the West into the Middle East.