he took part in the french revolution of 1789. during the reign of terror he was almost executed at the guillotine, but the death of robespierre saved him this fate. he later took part in the french campaign in egypt and syria.