 Valjean's character is loosely based on the life of the ex-convict Eugène François Vidocq.Vidocq became the head of an undercover police unit and later founded France's first private detective agency.He was also a businessman and was widely noted for his social engagement and philanthropy.