Mohammad Ali is regarded as the father of modern Egypt. He founded the Khedivate of Egypt and Sudan in 1805, capitalizing on the disorder in Egypt that followed the French occupation (1798 to 1801), and his descendants ruled Egypt until the Free Officers' Revolution in 1952.