A man who stabbed a partygoer four times and left him for dead has been jailed for nine years.
James Edgar, 25, was convicted of attempting to murder 19-year-old Paul Dreghorn at a house party in Paisley in November last year.
The High Court in Glasgow heard how Edgar, who has previous knife-carrying convictions, got involved in a dispute between the victim and another man.
Temporary judge Norman Ritchie QC said he had an "atrocious" criminal record.
The court heard how Mr Dreghorn was stabbed four times during the attack with one of the blows slicing his liver.
The injured teenager managed to stagger outside and make his way to his mother's home nearby.
During his trial Edgar denied the knife attack.
Jailing him, temporary judge Ritchie told Edgar: "For a comparatively young man your record is simply atrocious.
"You have three previous convictions for carrying a knife. In the past you habitually carried a knife.
"You chose to get involved in something which had started and chose to use a weapon. And caused significant injury to Paul Dreghorn."