A Swede who once was considered a psychopathic serial killer is a free man after authorities found that his eight murder convictions were based on false confessions.

A court in Falun in central Sweden on Wednesday ordered Sture Bergwall's release from a secure psychiatric unit where he's been held since 1991.

Bergwall, now 63, confessed to more than 30 killings over three decades and was convicted in eight cases. He later withdrew his confessions, saying they were made under heavy medication.

Each of his convictions was overturned after prosecutors said they had no other evidence linking him to the deaths, some of which may not even have been murders.

The court ruled that he should continue to receive psychiatric care, but no longer in a closed unit.