Activist Ali Abdul Jalil who fled the country to escape sedition charges claims he has been granted Swedish permanent residence (PR).

"Thank you Sweden for giving me PR. I love Sweden so much.

"If I was evil, Sweden wouldn't have given me PR," Ali posted on his Facebook today.

In 2014, he was arrested four times, slapped with three sedition charges and detained for 22 days in prison for criticising the monarchy on Facebook.

The student eventually fled the country after claiming to receive countless death threats.

Following this, the Immigration Department cancelled his passport.

Ali, who left the country through Thailand, settled for Sweden after learning that it was among the friendliest countries in the world for asylum seekers.

Before he fled, Amnesty International had described him as a "prisoner of conscience".