In 1828 de Lesseps was sent as an assistant vice-consul to Tunis, where his father was consul-general. He aided the escape of Youssouff, pursued by the soldiers of the Bey, of whom he was one of the officers, for violation of the seraglio law.