The British teenager found guilty of lying about being gang-raped in Cyprus has been given a four month suspended jail sentence at Famagusta District Court in Paralimni.
Lawyers for the 19-year-old had asked Judge Michalis Papathanasiou to consider a suspended sentence after she was convicted of public mischief last week.
She hugged her family and her legal team and left court crying, with her head in her hands after the verdict was announced.
Her family had raised fears she would suffer permanent damage to her mental health if she was sent to prison, having been diagnosed with post traumatic stress disorder.
But she is free to return home after Judge Papathanasiou told her he was giving her a "second chance".
The teenager claimed she was raped by up to 12 Israeli tourists in a hotel room in the party town of Ayia Napa on 17 July 2019.
She was charged, while the young men, aged between 15 and 20, who were arrested over the incident, were freed after she signed a retraction statement ten days later.
The woman spent around a month in prison before being granted bail in August.
She maintains she was raped after having consensual sex with one of the Israelis but forced to change her account under pressure from Cypriot police.
The case hinged on a retraction statement signed by the teenager following hours of questioning alone and without legal representation.
Her lawyers are poised to launch an appeal and hope to fast-track proceedings in Cyprus's supreme court, which could take three to four years.
Judge Michalis Papathanasiou said: "I admit, I have been troubled over this. All the evidence shows that she had lied and prevented the police from doing other serious jobs.
"Twelve people were arrested and seven of them were there for at least ten days. That was also a serious offence.
"Her psychological state, her youth, that she has been away from her family, her friends and academic studies this year.
"This has led me to decide to give her a second chance and suspend the sentence for three years."
British Prime Minister Boris Johnson welcomed the court's decision, his spokesman said.
The spokesman added the UK would work with Cyprus and other countries to ensure that such a case could not happen again.