Convicted drug smugglers Melissa Reid and Michaella McCollum are set to be transferred from Peru to a jails in the United Kingdom.
Reid, aged 20, from Lenzie, East Dunbartonshire, and McCollum, aged 21, from Dungannon, Co Tyrone, were jailed last year for six years and eight months.
They admitted trying to smuggle cocaine worth £1.5 million from Peru to Spain.
A solicitor has described conditions in detention in the South American country as horrendous. Both have now been successful in their bids for repatriation, with the Scot likely to return to a Scottish prison. A prison service spokesman confirmed that it has now completed the paperwork relating to a transfer, and is awaiting the next move by the Peruvian authorities.
It is likely that Reid will serve out her sentence at Cornton Vale prison, Scotland's only women's prison, which is near Stirling. It is only about 25 miles from her family's home.
The Irish government has been providing consular support to McCollum, an Irish citizen.
A letter from the Republic's department of foreign affairs said: "The Peruvian authorities have confirmed that they have accepted Michaella's prison transfer request and have passed this to the UK National Offenders' Management Service (NOMS) which co-ordinates prisoner transfers to the UK.
"In Ms McCollum's case, NOMS liaises with the Northern Ireland Prison Service and with the Peruvian Prison Service on all aspects of the transfer."
It could be months before she returns home as the logistics of the transfer will be complicated, the note to McCollum's solicitor stated.
Prisoners must be accompanied throughout their journey; airlines and airports must be advised, with security arrangements put in place at departure, transit and final stops.
A Northern Ireland Prison Service spokesman said: "We don't normally comment on individual cases. All transfer requests are however dealt with as expeditiously as possible."
The pair were caught with the haul at Lima airport on August 6 last year.
They were working on the Spanish party island of Ibiza when they claimed they were forced by Colombian drug lords who kidnapped them at gunpoint to board a flight with 24lb of cocaine in food packets hidden inside their luggage.
McCollum and Reid faced the prospect of a maximum 15-year prison term but struck a behind-closed-doors plea bargain to secure a shorter sentence.
They had previously been held at Lima's Virgen de Fatima prison but were moved to the notorious Ancon 2 prison, where horrific conditions reportedly mean McCollum is crammed into a cell with 30 other prisoners.
The situation at the mixed prison, which is two-and-a-half hours from Lima, has previously been criticised by the Irishwoman's lawyer as "appalling".
Kevin Winters said sanitation and toilet facilities are extremely poor and all females have to use a hole in the ground which has to be covered up because of the presence of vermin.
Reid's father, from Lenzie, near Glasgow, has said he has met Scotland's justice secretary Kenny MacAskill and is hopeful that his daughter will serve the rest of her sentence closer to home.
Patrick Corrigan, Amnesty International's Northern Ireland director, said: "With massive overcrowding, poor access to medical care and endemic corruption throughout Peru's penal system, it is understandable that prisoners from the UK and Ireland, such as Michaella McCollum Connolly, want to return home to complete their sentences."
He said Peru's prisons are full to overflowing, with almost 50,000 prisoners for fewer than 30,000 prison places.
"The Virgen de Fatima and Ancon jails, where Melissa Reid and Michaella McCollum Connolly have been serving their jail terms, suffer from the same problems as the rest of Peru's prison system, which has a reputation for being deeply corrupt, with prisoners even forced to pay for food and clean water.
"Significant investment is required to bring the country's jails up to internationally accepted standards for prison conditions such as would be expected in the UK."
The Scottish Prison Service (SPS) said it has approved a repatriation application it received from Lima earlier this year.
Prison chiefs are now waiting for the Peruvian authorities to agree on the terms of the transfer before it can take place.
An SPS spokeswoman said: "We have provisionally given consent to the Peruvian authorities for the application."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article