London (AFP) - Nazanin Zaghari-Ratcliffe, a British-Iranian held in Iran for six years on charges of plotting to overthrow the government and taking part in a rally, is on her way home after Britain secured her release.
We look back at her battle to be reunited with her family in England.
Airport arrest
Zaghari-Ratcliffe, an employee of the Thomson Reuters Foundation, is arrested on April 3, 2016, with her 22-month-old daughter Gabriella at Tehran airport after visiting relatives for Iranian New Year.
The toddler's British passport is confiscated and she is handed over to her maternal grandparents.
Incarcerated at the notorious Evin prison in the Iranian capital, Zaghari-Ratcliffe, then 37, is accused in June of plotting a "soft overthrow" of the Iranian government with the support of foreign intelligence services.
Jailed for five years
Zaghari-Ratcliffe is sentenced to five years in jail on September 9 for taking part in a "sedition movement" in Iran in 2009.
The sentence is upheld on appeal in April 2017.
In November that year, Boris Johnson, then foreign minister, commits a faux pas by telling a parliamentary committee that Zaghari-Ratcliffe trained journalists in Iran, a remark that fuels Tehran's accusations.
A month later, during a visit to Iran, Johnson presses for her release.
In March, 2019 , London grants diplomatic protection to Zaghari-Ratcliffe, saying her detention does not comply with international law.
The following month the Iranian authorities offer to free her if the United States drops accusations against an Iranian woman in jail in Australia.London rejects the offer.
Hunger strike, psychiatric ward
Zaghari-Ratcliffe goes on a hunger strike in June 2019 that lasts two weeks. In July she is transferred to a hospital's psychiatric ward where she stays for several days.
In October, little Gabriella returns to London so she can attend school under her the care of her father Richard Ratcliffe, who has fought for his wife's release for years.
He says she is being held "hostage" as a part of a sinister political game over money Britain never paid back after cancelling a massive tank deal paid for by Iran's ousted Shah.
Released, then new nightmare
In March 2020, Zaghari-Ratcliffe is released on parole because of the coronavirus pandemic and placed under house arrest at her parents' home.
In September she is hit with a new charge -- spreading propaganda against Tehran.
After the end of her first sentence she is given another year in prison on April 26, 2021.
In October, she loses her appeal, raising the spectre of a return to jail.
Britain's foreign minister Dominic Raab describes Iran's treatment of her as "torture".
Freedom
On Tuesday, Iran gives Zaghari-Ratcliffe back her passport.
On Wednesday, the MP of her London constituency announces she is "on her way home" and tweets a picture of her boarding a plan to Oman, en route to Britain.
Anoosheh Ashoori, a retired engineer from southeast London, who was serving a 10-year sentence on charges of spying for Israel, is also released and flies home with Zaghari-Ratcliffe.
British Foreign Secretary Liz Truss confirms that London and Tehran have resolved the question of Britain's £394-million ($515-million, 470-million-euro) debt dating back to the 1970s.
Iran denies the payment was linked to the Britons' release.