A youth who stabbed a 13-year-old boy after underage drinking has been ordered to be detained for two years.
The youth was sentenced at the High Court in Edinburgh
A judge condemned the crime, carried out when the attacker was also 13, as "a completely mindless assault".
Lord Macphail said: "You struck a 13-year-old boy with a knife with grave consequences. He has been left disfigured and his life was in danger."
The youth, who cannot be named for legal reasons, admitted assault to severe injury in Barrhead in November.
The victim was stabbed in the stomach at Manse Court on 26 November.
His attacker, who is now aged 14, was originally charged with attempted murder.
The Crown accepted his guilty plea to a reduced charge of assault to severe injury, permanent disfigurement and the danger of life.
Passing sentence at the High Court in Edinburgh, Lord Macphail told the teenager that he took into account his age and "difficult home background".
He said: "I appreciate it can be said in your favour you are a first offender and have expressed regret.
"The fact remains, however, that this offence is so grave - mindlessly using a knife on another boy with serious consequences - that the only appropriate sentence is a custodial one."
The unprovoked attack left the victim with a laceration to his liver and bleeding from an artery from the spleen.
His attacker told police he did not mean it.