Pirate Bay founder Gottfrid Svartholm is a free man again after serving three years in prison for hacking and copyright offenses. His release marks the end of a turbulent and tough period characterized by successive trials, appeals and convictions in both Sweden and Denmark.

Gottfrid Svartholm, also known as Anakata, was a founding member of The Pirate Bay and played a key role during the site’s early years.

He has spent the last three years in prisons in Sweden and Denmark, for a variety of offenses. Last month his prison time in Denmark ended and after serving a final month in Sweden he is now a free man.

At this time Gottfrid and his family prefer not to make any public statements, which is understandable considering all that’s happened, but his mother just confirmed the good news.

His release marks the end of a tough time with several consecutive setbacks.

It all started in 2011 when Gottfrid received a one-year prison sentence for his involvement with the notorious site, which he initially avoided.

September 2012 he was arrested by Cambodian police in Phnom Penh, the city where he had been living for several years. A few days later he was transferred to Sweden to serve his sentence, but that was only the start.

Soon after his release the Pirate Bay founder was accused of several hacking and fraud offenses.

The case went to trial in 2013 and Gottfrid was subsequently found guilty of hacking, aggravated fraud and attempted aggravated fraud, which resulted in a two-year prison sentence. The Pirate Bay founder always maintained his innocence and went on to appeal the verdict.

The Appeal Court agreed in part and cleared Gottfrid of hacking the Nordea bank. The court still found him guilty of hacking IT company Logica but decided to reduce his sentence from two years to one.

While he was serving the Swedish hacking sentence Denmark also went after Gottfrid. Despite public protests and an appeal to the Supreme Court in Sweden, he was extradited during the fall of 2013 and held in solitary confinement for weeks on end.

In Denmark the Pirate Bay founder stood accused of hacking into the mainframe computers of IT company CSC. Gottfrid denied these allegations and during trial he pointed out that Sweden previously acquitted him of a similar offense.

Despite the “not guilty” plea and expert witness testimonies in his favor, Gottfrid was sentenced to another 3.5 years in prison, which was affirmed following an appeal to the High Court.

As in many other countries, well-behaved convicts only have to serve part of their sentence in Denmark so Gottfrid was released last month.

That’s also when the latest setback was announced. Shortly after his release he was arrested again to serve one remaining month of his hacking sentence in Sweden.

Today Gottfrid is truly a free man again. While prison wasn’t easy for him and his family, the future is finally looking a bit brighter.

Over the past years Gottfrid has received a lot of support from the public, but first and foremost from his mother Kristina, who stood beside him every step of the way and always was kind enough to answer questions and have her son’s voice heard outside of prison.