In 1833 Lesseps was sent as consul to Cairo, and soon afterwards given the management of the consulate general at Alexandria, a post that he held until 1837. While in Egypt he encountered and was influenced by Barthélemy Prosper Enfantin, who was working on a dam north of Cairo for Ali while preaching for a union of the Mediterranean and Red Seas. While he was there an epidemic of plague broke out and lasted for two years, resulting in the deaths of more than a third of the inhabitants of Cairo and Alexandria. During this time Lesseps went from one city to the other with zeal and energy. Towards the close of the year 1837 he returned to France, and on 21 December married Agathe Delamalle (1819–1853), daughter of the government prosecuting attorney at the court of Angers. By this marriage de Lesseps became the father of five sons: Charles Théodore de Lesseps (1838–1838), Charles Aimé de Lesseps (1840–1923), Ferdinand Marie de Lesseps (1842–1846), Ferdinand Victor de Lesseps (1847–1853) and Aimé Victor de Lesseps (1848–1896).