Peter Madsen, an inventor who admitted dismembering Danish journalist Kim Wall inside his private submarine, was found guilty of her murder Wednesday and sentenced to life in prison. The Copenhagen City Court sentenced the 47-year-old to the maximum punishment for the torture and murder of Wall, 30, in August 2017. He was found guilty of murder, dismemberment, and indecent handling of a corpse. Madsen repeatedly denied murdering the journalist, insisting Wall died accidentally while inside the submarine, but he did confess to cutting her up and throwing her body parts into the sea. Prosecutor Jakob Buch-Jepsen had claimed Wall’s murder was sexually motivated and premeditated because Madsen brought along tools he normally didn’t take when sailing, CBS News reports.