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.

Local TD Accepts Data Centres Are A "Particular Issue" In Ireland
Katie Taylor Tickets Sell Out for Croke Park Final Fight In September
New Digital Wallet Might Be Needed To Access Pornography Online
Two Men Arrested As Gardaí Seize Firearm And Drugs In Blanchardstown
Trial Of Man Accused Of Attempted Murder Of Three Children Will Be Shown CCTV Today
Second Night Of Riots In Belfast
Victim Loses Eye After Attempted Murder In Belfast On Monday
Report Finds Over 95,000 Children Are In Poverty