Valjean is preoccupied with the arrival of Inspector Javert (Geoffrey Rush), who previously served as a guard at the prison in which Valjean was held. Fantine, in desperate need of money to pay the extortionate demands of the Thénardiers for looking after her daughter Cosette, turns to prostitution.