A former inmate who bloodied a prison guard after punching him has been spared another jail term.
Wayne Martin, 24, was serving a two-year stint at HMP Perth when he attacked Steven Alston on February 6 2020.
The thug had been jailed at Dundee Sheriff Court for trying to rob a 17-year-old girl and a 66-year-old man in Arbroath in 2019.
Martin, who was released in April 2020, is now banned from leaving his home at night and must perform unpaid work after he admitted attacking Mr Alston.
The court was previously told how Martin became enraged after he was placed on an order preventing him from leaving his cell.
Fiscal depute Lynne Mannion said: “The accused was in his cell along with another prisoner.
“The complainer opened the door to allow prisoners out for a meal.
“He told the accused that his cellmate would be allowed out to collect his food for him.
“The accused said he wasn’t subject to the order.
“He gritted his teeth and very quickly punched Mr Alston on the face, causing him to stumble backwards.”
Martin’s cellmate intervened and Mr Alston managed to close the door. He left a trail of blood that led to the staff office.
He was taken to Perth Royal Infirmary for treatment to a cut under his eye and bruising which did not leave permanent scarring.
Martin, of Grimsby Place, Arbroath, pleaded guilty to punching Mr Alston on the head to his injury in the prison.
Defence solicitor Billy Rennie previously said Martin, who was in care from the age of 11 until he was 18, had not been in trouble since being released in April 2020.
Mr Rennie said: “He is perhaps on the cusp of changing his lifestyle.
“He’s leading a fairly isolated life. There’s a lot of progress being made in this young man. However, he’s under no illusions that there’s a strong possibility that he could be going back to custody.”
Sheriff Lorna Drummond QC placed Martin on supervision for 24 months as well as ordering him to perform 220 hours of unpaid work.
She said: “You know it’s a serious offence, punching a prison officer and causing injury.
“That’s somebody carrying out an important job and they have got to do that without fear.”
Martin was also made subject to a restriction of liberty order for three months which will keep him indoors between 7pm and 7am.