Danny Heinrich, the person of interest in the Jacob Wetterling case, agreed to plead guilty to child pornography charges and admitted in federal court to killing Jacob, according to the Associated Press, in Minneapolis Tuesday.

The Wetterlings were in court when the 53-year-old Andover man told how he put on mask and confronted three children while holding a revolver near Jacob's central Minnesota. home. He says he took Jacob, handcuffed him and assaulted him in a grove of trees. He then shot Jacob, buried him in a gravel pit and then reburied him a year later.

According to a plea deal, Heinrich will not face charges in Jacob's death.

Heinrich faces the statutory maximum of 20 years on the child pornography count, though Judge John Tunheim will decide his sentence. Heinrich could also be civilly committed to the state's sexual offender program after his prison sentence ends.