COPENHAGEN, Denmark -- The Copenhagen City Court on Wednesday sentenced Danish inventor Peter Madsen to life in prison for torturing and murdering a Swedish journalist during a private submarine trip. Madsen, 47, was found guilty of murder, dismemberment and indecent handling of a corpse over the death of Kim Wall. Judge Anette Burkoe said she and the two jurors agreed Wall's death was a murder, saying Madsen didn't given "a trustworthy" explanation.

Madsen stood quietly listening as the judge read out the verdict Wednesday. He had denied murder and said Wall died accidentally inside the submarine, but has confessed 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. He had sought the life sentence for Madsen. In Denmark, life equates to 16 years, which can be extended if necessary.

Danish submarine owner and inventor Peter Madsen, right, lands with the help of the Danish navy in Dragor Harbor south of Copenhagen, Denmark, Aug. 11, 2017. Scanpix Denmark/Bax Lindhardt/via Reuters

Madsen's defense lawyer argued that he should only have been sentenced for cutting Wall into pieces. The cause of death has never been established.

Get Breaking News Delivered to Your Inbox

When Judge Anette Burkoe read the verdict, it was not seen outside the Nordic region because of broadcasting restrictions decided by the Copenhagen City Court. It was not immediately clear whether Madsen's legal team would appeal the verdict.

Testifying during the trial, Madsen repeatedly claimed that Wall died accidentally inside the UC3 Nautilus while he was on deck. He said Wall, "had a wonderful evening until it ended in an accident," but denied that any sexual activity had taken place between them.

Madsen had offered shifting explanations for Wall's death prior to the trial. He initially told authorities he had dropped Wall off on an Copenhagen island several hours into their submarine trip. Then he said that Wall died accidentally inside the submarine when a hatch fell and hit her on the head.

The submarine UC3 Nautilus of Danish inventor Peter Madsen is seen in Copenhagen, Denmark, March 7, 2018. AP

Early in March, he told the court he had found Wall lifeless after a sudden pressure problem in the submarine.

"I could not open the hatches. I heard Kim, it was not good," he said. He added that he tried to give her first aid when he finally reached her, but stopped because it was impossible to stay inside. "There was a risk of having a submarine with two deaths," he told the court.