Kevin Mallon has been released from prison in Brazil after a day of confusion over an electronic ankle tag.
The 36-year-old was freed on strict conditions from Bangu prison shortly after 10pm (Rio Time).
He walked from the prison and was later driven away by his legal team.
Mr Mallon, from Drimnagh, in South Dublin has been accused of ticket touting at the Rio Olympics after 823 tickets – a large proportion of which were issued to the Olympic Council of Ireland (OCI) - were discovered in his hotel room on the day of the Opening Ceremony.
He is facing charges relating to ticket touting as well as a charge of criminal association.
He has been held in Brazil's largest prison Bangu ever since and has shared a cell with former OCI president Pat Hickey who was arrested on August 17 for the last week.
But shortly after 2am Irish time the father-of-one was allowed to walk free from Gericino Prison - known locally as Bangu.
He was driven away by lawyer Franklin Gomes and is expected to stay in an apartment in Rio de Janeiro.
Earlier there had been a delay in his release after staff were unable to find an electronic tag for him - one of the conditions of his release.
On August 10 the Supreme Court denied habeas corpus appeal by Mr Mallon. This decision was reviewed by the Minister Ribeiro Dantas and overturned.
A number of conditions, aside from his requirement to wear an electronic tagging device, are listed on the order to grant Mr Mallon's release.
He has been ordered to attend court on Monday, August 29 and periodically after that.
He has been banned from accessing or attending premises connected to the Brazilian or International Olympic Committees for the period of the Paralympic Games, as well as ban on attending any of the stadiums or facilities where he would encounter the games mentioned.
He has also been banned from attending the Opening and Closing ceremonies of the Paralympics. He is prohibited from being absent from the district without the permission of the court.
He has also been given an 8pm curfew each night. His passport will also remain with the authorities.
A statement from Mr Mallon's company THG confirmed the pending release: “Following intensive efforts by our lawyers in Brazil, THG welcomes the news that our colleague Kevin Mallon is shortly to be released from preventative detention in Rio.
“In line with our previous statements on this matter THG has welcomed the public enquiry in Ireland into these matters and believes that the company and its executives will be vindicated when all of the evidence is reviewed.
“We will continue to work to secure Kevin's full release and his return to Dublin. Meanwhile, THG is providing full support to Kevin and his family and will continue to seek to ensure their privacy at this difficult time.”
Mr Mallon was arrested after a police sting operation by Rio's Fraud police.