Théodore Cornut was of French mathematician and military architect of the 18th century, born in Avignon. He was commissioned by Sidi Mohamed ben Abdallah, an Alaouite Sultan, to build the city of Mogador (modern Essaouira) in 1766. Cornut is thought to have been a prisoner, taken during a failed assault on Larache, together with hundreds of other Christian prisoners. He designed the city, and built it with the help of the prisoners, and ultimately obtained his freedom. Wikipedia
The definitive Wikipedia entry for Théodore Cornut. Wikipedia is the biggest multilingual free-content encyclopedia on the Internet. en.wikipedia.org/wiki/Th%c3%a9odore_Cornut