Le Chevalier d'Eon was a French diplomat who lived alternatively as male or female. There was a betting pool over his real gender (male) that closed only after his autopsy.