“ISIS bride” Shamima Begum has launched a legal challenge to the British government’s decision to strip her of her citizenship and prevent her from returning to London, according to reports.

Begum, 20, who was born in the UK, was one of three schoolgirls from Bethnal Green Academby who left the UK to travel to Syria in February 2015 to join the terror group.

Four years later, she was discovered by journalists in the al-Hawl refugee camp guarded by Kurdish militia in Syria following the collapse of the ISIS caliphate.

On Feb. 19, then-Home Secretary Sajid Javid revoked her citizenship because it was claimed she still posed a risk to the public. The decision would only be lawful if it did not leave Begum stateless, according to Sky News.

Her lawyers told a hearing before the Special Immigration Appeals Commission on Tuesday that she had been left stateless, was unable to mount a “fair and effective” legal challenge and was at risk of “death, inhuman or degrading treatment,” according to The Guardian.

If she was forced to go to Bangladesh, where her parents are from, she was at risk of being hanged, the court was told.

Shahriar Alam, Bangladesh’s minister of state for foreign affairs, claimed that reports that she had Bangladeshi citizenship were false and warned that she would not be allowed into his country, according to Sky News.

Her attorney Tom Hickman said in his written submissions that Begum “is not considered a national of Bangladesh and was therefore rendered stateless by the deprivation decision.”

Begum’s other lawyer told the Daily Mirror that she will argue that she was a victim of rape by her husband.

“She was married in an ISIS ceremony within two weeks of reaching Syria to a 23-year-old fighter. Her context is as a rape victim, or a statutory rape victim,” Tasnime Akunjee said.

Begum said she was married 10 days after arriving in Raqqa to Yago Riedijk, a Dutchman who had converted to Islam and became a jihadist.

During her time in Syria, she gave birth to three children, all of whom have died. She was eventually moved to another camp, al-Roj, amid threats against her.

Conditions in al-Roj were reported to be “squalid” and it was “likely to be unguarded” in the aftermath of this month’s Turkish invasion of the northern part of Kurdish-controlled Syria, the court heard, according to the Guardian.

Hickman told the court: “[Begum] intended to return to the UK when the British government, after hearing of that intention, deprived her of her British citizenship with the purpose of preventing her from returning to the UK.

“Those actions were motivated, at least in part, by a desire to prevent the appellant exercising her [human rights] in the UK (such as by resisting deportation to Bangladesh).”

She drew a backlash when she appeared to be unmoved by the horrors the group had perpetrated during her time with them.

“When I saw my first severed head in a bin it didn’t faze me at all. It was from a captured fighter seized on the battlefield, an enemy of Islam,” she has said in an interview. “I thought only of what he would have done to a Muslim woman if he had the chance.”

She told The Times of London that she wanted to bring up her baby in the UK — and her family has begged for her to be shown mercy and to be allowed to return to East London.

Her youngest child died three weeks after she was stripped of her citizenship.

The Special Immigration Appeals Commission court – which rules on decisions to remove UK citizenship on security grounds — will hear some of the more sensitive intelligence-related evidence in the case behind closed doors.

“Our job is to keep our country safe. We cannot have people who would do us harm allowed to enter our country – and that includes this woman,” current Home Secretary Priti Patel told the Sun.

“Everything I see in terms of security and intelligence, I am simply not willing to allow anybody who has been an active supporter or campaigner of ISIS into this country.”