After returning from Egypt, Napoleon engineered a coup in November 1799 and became First Consul of the Republic