<P> Valjean plays his part in the insurrection and proves an excellent shot . To thank him, Enjolras, the barricade's leader, offers him anything he wants . Valjean asks that he be allowed to kill Javert, who has been captured as a spy . The request is granted and Valjean takes Javert out of sight to kill him but instead of executing him, sets him free, though Javert warns that he will still be bound to arrest Valjean . Valjean agrees and gives Javert his address . After Valjean releases Javert, the fighters on the barricades are all killed with the exception of Marius, whom Valjean carries to safety through miles of Parisian sewers . Valjean finds the sewer exit to the Grand - Caillou locked . Thénardier is there and has the key . He offers Valjean the key in return for payment, believing that Valjean had killed Marius for his money . Valjean gives the few sous he has to Thénardier and unlocks the sewer gate and encounters Javert, now returned to duty and in pursuit of Thénardier . Valjean requests that Javert help him carry Marius to safety and Javert summons his carriage . Valjean asks permission to return home to say goodbye to Cosette and Javert agrees, saying that he will wait out front . As he walks up the stairs, Valjean looks out the window and notices that Javert is gone . Javert confronts his life spent in pursuit of a criminal who has demonstrated a sense of justice outside of the one that Javert has upheld his entire life . Unable to accept this, he commits suicide . </P> <P> After recovering from his injuries, Marius receives permission from his grandfather to marry Cosette and they wed . The day after the wedding, Valjean reveals to Marius that he is an ex-convict . Marius, horrified, assumes the worst about Valjean's character and begins pushing him out of Cosette's life . After this, Valjean's previously habitual visits to Cosette at Marius' grandfather's house become shorter and shorter, until he ceases to visit at all, having become bedridden with loss of will to live . Some time after he stops coming, Thénardier visits Marius and claims that Valjean is a murderer and shows Marius several newspaper articles to prove this . Marius sees through Thénardier's disguise and, in an attempt to show Marius something that he does not already know, Thénardier shows newspaper clippings proving that M. Madeleine and Jean Valjean are the same person, and that Javert committed suicide . Marius is then told that Valjean was the man who had "assassinated" one of Marius' relatives, carrying the body through the sewers on 6 June . Realizing that Thénardier had seen Valjean saving him, Marius finishes with Thénardier and hurries with Cosette to Valjean's flat . Unfortunately, they are too late and find Valjean is dying . Valjean makes peace with Marius, with whom he had uneasy relations, and tells Cosette the name of her mother, Fantine . He dies content, under the light of the Bishop's candlesticks, and it is stated that an angel awaits to carry his soul to Heaven . He is buried in an unmarked grave, per his request, after death . Only these four lines appear on the gravestone: </P> <P> Il dort . Quoique le sort fût pour lui bien étrange, Il vivait . Il mourut quand il n'eut plus son ange; La chose simplement d'elle - même arriva, Comme la nuit se fait lorsque le jour s'en va . </P> <P> Translation: He sleeps . Although his fate was very strange, He lived . He died when he no longer had his angel . The thing came to pass simply, of itself, As the night comes when day is gone . </P>

Why did valjean decided to admit that he is the true ex convict