Darren Duff, who was jailed for a near-fatal stabbing which left parts of the victim's bowel and intestines protruding from his body, had his conviction overturned at the Court of Criminal Appeal.
A retrial has been ordered.
The court ruled the publication of newspaper articles during Mr Duff's trial in July 2008 created 'a real risk' of unfairness to him if members of the jury made a link between them and Mr Duff's trial.
Mr Duff, of Doon Court, Poppintree in Ballymun, had his conviction quashed this afternoon.
The articles in question appeared as the 'principal story' on the front page of the Sunday Tribune Newspaper 'the day before the fifth day' of Mr Duff's trial in July 2008.
A 'virtually identical' article was published in another Irish newspaper a day later.
The court heard that although the Sunday Tribune article did not refer specifically to 'names or places', it did contain 'facts which fitted' the case being tried.
Delivering judgment at the Court of Criminal Appeal, Mr Justice Nial Fennelly said it was a rare incidence where an appropriate direction to the jury could not 'counteract the ill effects' of publication of certain material during the course of a trial.
But Justice Fennelly stressed that in the unique and extraordinary circumstances of Mr Duff's case this would not have been possible.
During Mr Duff's trial, an attempt was made to have the jury discharged and while the trial judge at Dublin Circuit Criminal Court accepted the material was 'open to interpretation' he refused the application.
Mr Duff was sentenced to ten years in prison in October 2008 following his conviction by a jury for causing serious harm to a man by stabbing him on 28 July 2001 at Hillcrest Way Estate in Lucan, Dublin.
Mr Duff was in court for today's hearing.
The CCA said in 'no stronger a term' that the publication by a major Irish newspaper of material directly related to the subject matter of a trial in advance of it or during it was 'unfortunate'.
Mr Duff was remanded in custody.
