The 64-year-old from Tipperary was arrested while taking pictures of a mosque last October.
Bernard Phelan - the Irishman detained in Iran for more than six months - is to be released.
The Iranian Embassy in Dublin says he is to be pardoned and released on consular and humanitarian grounds.
The 64-year-old from Tipperary was arrested while taking pictures of a mosque last October.
The country accused him of anti-government propaganda, a charge he had denied.
He was initially sentenced to three and a half years, but it was increased to six and a half, with no explanation.

Court Orders Demolition Of 29 Unauthorised Modular Homes Built By Kildare Developer
Chris Rea, 'Driving Home For Christmas' Singer, Has Died Aged 74
170 People Arrested In Past Week For Driving Under Influence Of Alcohol Or Drugs
Woman Arrested On Suspicion Of Murder Of Daniel Aruebose
€239k For Clane Playground As Kildare Secures Funding For Just Two Projects
Minister’s Letter: DART+ South West Entirely Dependent On Successful Delivery Of DART+ West
Two Men Charged In Connection With €4 Million Cocaine Seizure In Kildare And Wexford
Court Dismisses Bid To Block Super Junior Ministers From Cabinet Meetings