A HEROIC Danish woman who battled ISIS has been thrown in jail while her government lets returning Jihadis go free - and even hands them cushy jobs.

Joanna Palani, 23, who fought for the Kurdish peshmerga in Iraq and the YPG militia in Syria, had her passport confiscated by cops last year.

3 Brave Joanna Palani, who battled ISIS in Iraq and Syria, has been locked up by the Danish government Credit: Facebook

3 The Iraqi-born Dane had her passport confiscated upon returning to Europe Credit: Facebook

Police slapped her with 12-month travel ban by email in a bid to stop her from travelling back to the so-called Islamic State.

But after admitting to travelling to Qatar this year, brave Joanna was taken into custody and locked up in Denmark’s largest prison, Vestre Fængsel in Copenhagen.

Denmark has suffered an epidemic of brainwashed citizens fleeing to fight for ISIS - the second highest per head of population in Europe behind Belgium.

RELATED STORIES THE 'NEW JIHADI JOHN' Brit jihadi who acted as Anjem Choudary's bodyguard appears in new ISIS beheading film KID’S NAILBOMB PLOT ISIS fanatic, 12, youngest-ever terror arrest over 'plan to bomb German Christmas Market' Pictured 'THEY HAD TO HIT IT TWICE' Iraqi brothers who escaped Mosul reveal what it’s like to have your limbs hacked off by ISIS SEEING SCENTS Marks & Spencer changes name of ISIS perfume range after shoppers claimed it was 'totally inappropriate' 'HIDING IN PLAIN SIGHT' UK army chief warns of battle-hardened ISIS jihadis entering Europe with 'flow of migrants'

As a result, the Scandinavian country has introduced laws blocking passports belonging to those they believe pose “a substantial threat to public order”.

Yet, the liberal nation favours ‘deracialising’ returning ISIS killers and instead of locking them up, the government hands them jobs and psychological counselling.

Representing Joanna, lawyer Erbil Kaya slammed the decision to jail her calling it “hypocritical”.

Speaking with the Guardian, Kaya said: “It’s a shame. We are the first country in the world to punish a person who has been fighting on the same side as the international coalition.

“It’s hypocritical to punish her. Why don’t we punish the people who fight for ISIS instead of people who are fighting on the same side as Denmark? I don’t think it makes sense.”

Joanna, who will attend another hearing this week, could face two years in prison.

3 Joanna says she has been 'betrayed' by her government Credit: Facebook

The daughter of Iranian Kurds, the courageous soldier was born in an Iraqi refugee camp in 1993 before her family moved to Denmark when she was aged three.

She told the Guardian that she went to Kurdistan , in northern Iraq, “to fight for women’s rights, for democracy – for the European values I learned as a Danish girl”.

In an interview with Vice this year, she said that “ISIS fighters are very easy to kill”.

She also blasted the Danish government calling her passport confiscation a “betrayal.”

Joanna has also received death threats from extremists following her return to Denmark

She said: “It’s very difficult for me, as there many people who are against me still in Copenhagen – some IS people.

“It’s hard for me to get a job as PET (Danish counter terrorism) have been calling employers telling them I am a threat to national security, so it doesn’t seem like anyone is on my side.”

We pay for your stories! Do you have a story for The Sun Online news team? Email us at tips@the-sun.co.uk or call 0207 782 4368