Barrie admitted the culpable homicide of Alan Hughes in July last year
A man whose bank robbery conviction was quashed following a BBC "Rough Justice" investigation has been jailed for nine years for killing his neighbour.
Ernest Barrie, 54, attacked 38-year-old Alan Hughes at his flat in Glasgow's Hutchesontown area in July last year.
He was originally charged with murder but pled guilty to the reduced charge of culpable homicide.
At the High Court in Glasgow Barrie was also ordered to be supervised for three years after his release from prison.
The court heard how Barrie attacked Mr Hughes with a knife, a toilet cistern lid, a walking stick and a metal pole.
The victim suffered 47 separate injuries in the assault, which went on for about 15 minutes, and died at the scene from a loss of blood.
Sentencing Barrie, judge Lord Matthews told him: "This is a very serious crime and a lengthy custodial sentence is the only possible sentence.
"I also have to make sure the public is protected from you after you are released."
Lord Matthews told Barrie that if it had not been for his early plea of guilty he would have been jailed for 12 years.
Barrie was jailed in 1986 after being convicted of robbing the Clydesdale Bank in Blantyre, Lanarkshire, of £40,000.
The evidence against him included a CCTV photograph from the bank showing an unidentifiable robber standing at the counter.
A subsequent investigation by the BBC's Rough Justice programme concluded that Barrie was not the robber following expert analysis of the photograph.
He was released on interim liberation in 1989 after serving three years and his conviction was later quashed by three Appeal Court judges.