An Iranian woman who was whisked away into detention in both Brisbane and Darwin as a teenager was released on Wednesday after fighting the case for almost two years.

Key points: Mojgan Shamsalipoor released from immigration detention on a bridging visa

Mojgan Shamsalipoor released from immigration detention on a bridging visa Had been placed in immigration detention after refugee status rejected

Had been placed in immigration detention after refugee status rejected Department statement says people released 'will not have access to permanent stay visas'

Mojgan Shamsalipoor was released from the Brisbane Immigration Transit Accommodation (BITA) and into the arms of her husband, Iranian refugee Milad Jafari, and waiting family.

Australian Story understands Ms Shamsalipoor, 22, was released on a bridging visa and will live and work in Brisbane.

In a statement, a spokesman for Immigration Minister Peter Dutton said a number of "illegal maritime arrivals" had been released on Wednesday.

"This is in line with the Government's decision to reduce the number of people in detention," the statement said.

"These people have been granted temporary bridging visas. All have been found not to be owed protection by Australia.

"They are not refugees and are expected to return to their countries of origin. They will not have access to permanent stay visas."

Mojgan Shamsalipoor embraces her father-in-law after her release. ( ABC News: Lisa Domrow )

Ms Shamsalipoor said the feeling of being back in the community was "surreal".

"I couldn't believe it was happening. Even in the last hours … I couldn't believe this until I signed the actual visa," she said.

"It was like a dream coming true.

"For almost two years I was staying there, I was a bit hopeful but a lot of people cared and supported me and gave me so much strength so I could handle this situation."

She thanked for the community for the support during her time in detention.

"I can't believe right now I'm standing here. There's a sea over there I can't believe it there's no guards anymore, no fences," she said.

Ms Shamsalipoor's case galvanised the community at Brisbane's Yeronga State High School, where she was a student, which mounted a year-long campaign to get her out of immigration detention.

Supporters ranged from a legion of schoolgirls to politicians who raised the case in state and federal parliaments.

Future still in limbo: lawyer

Lawyer Kevin Kadirgamar said while he welcomed the decision to grant Ms Shamsalipoor her freedom, her future was still in limbo.

"The Minister has effectively recognised that she has never been a threat to the community and she has every capacity to be a productive member of society," he said.

"However, the bridging visa continues to place a shadow of uncertainty over her future in that the Minister has not gone as far as allowing her the opportunity to reside in Australia permanently with her husband."

Mr Jafari said the family would take time to recover from the ordeal before hosting a party to celebrate Ms Shamsalipoor's freedom.

Space to play or pause, M to mute, left and right arrows to seek, up and down arrows for volume. Watch Duration: 28 minutes 4 seconds 28 m Watch the full episode from Australian Story on Mojgan and Milad's journey

He praised the "kindness" of authorities for granting his wife a bridging visa.

"The respect and kindness of the officials who gave us this opportunity to live has been so great, because we as young people we learn a lot and we learn to contribute and we learn to be good members of this community," he said.

"Obviously everywhere has their own regulations about refugees. We always wanted to follow the rules, we always wanted to be legal here and be good and I think now we are just going to continue our normal life.

"This is a huge impact on the families around people in detention, it's not only them in detention.

"We are in Australia and Australia gave us this life back and we will never regret it or forget it, it is the biggest thing to happen to my family."

Mojgan Shamsalipoor is comforted by a long-overdue hug after her release. ( ABC News: Lisa Domrow )

Mojgan fled domestic violence, rape

Ms Shamsalipoor fled Iran after enduring rape and domestic violence at the hands of family members.

She had also been forced to become the child bride of a 60-year-old man.

Her mother scraped together funds to send her to Australia, under the protection of her older brother.

Ms Shamsalipoor was 18 when she arrived on Christmas Island in 2012.

Hundreds of people marched in Brisbane's South Bank to show their support for Ms Shamsalipoor in September 2015. ( ABC News: Kym Agius )

She applied for refugee status and while it was processed she was allowed out into community detention in Brisbane.

It was in Brisbane that she met her future husband, Mr Jafari, at a youth camp.

Mr Jafari and his family had been granted refugee status and he was attending Yeronga State High School.

Soon afterwards Ms Shamsalipoor and Mr Jafari moved in together and after two years they married.

When the Department of Immigration found Ms Shamsalipoor did not qualify as a refugee, she was taken back into detention at BITA.