Allan Kardec (Hippolyte Léon Denizard Rivail 3 October 1804 – 31 March 1869) was a French philosopher and teacher.