A United States judge has ruled an Iranian mother arrested in Australia, forced to give up her newborn son and extradited to Minneapolis, has spent enough time in prison.
The case involving former Adelaide cleaner Negar Ghodskani drew worldwide headlines and caught the attention of Iran's Foreign Minister Mohammad Javad Zarif after she was arrested in Australia in 2017.
Ghodskani, 40, was pregnant at the time of her arrest and gave birth to her son Nickan in custody in Adelaide ahead of her extradition to the US.
US District Court Judge Joan Ericksen agreed in Minneapolis on Tuesday with Ghodskani's lawyer Robert Richman the 27 months she had already spent in custody in Australia and the US was enough.
The judge sentenced Ghodskani to a time-served sentence.
"It went very well," Mr Richman told AAP. "The court sentenced her to time served.
"We are expecting she will be deported back to Iran in the next few weeks."
US prosecutors had asked for a prison sentence of around three to five years.
Ghodskani's path to prison began in Iran in 2008 when she was hired by Iranian telecommunications manufacturer Fana Moj, whose principal customer was the government-owned Islamic Republic of Iran Broadcasting radio and TV network.
Ghodskani flouted US sanctions on Iran by purchasing US electronics components and products for her company.
In 2009 Ghodskani moved to Malaysia to work at Fana Moj front company Green Wave Telecommunication and continued to thwart international sanctions by sourcing items needed by her employer.