Man died after being tortured with hammer and boiling water
Mark Anderson took Nigel Poustie hostage in his Dundee flat, tied him to a chair and battered him.
A former DIY shop worker died after being tied up and tortured for hours.
Nigel Poustie was held hostage by Mark Anderson at his flat in Dundee in July this year.
The 49-year-old was battered with a baseball bat and hammer, and had boiling water poured over his head.
Mr Poustie eventually escaped from Anderson's flat but was later discovered dying in the street.
He never recovered and Anderson was later arrested in connection with his death.
The 51-year-old initially claimed to police his victim must have been hurt in a car accident.
Anderson now faces a lengthy jail term after admitting to Mr Poustie's culpable homicide.
He had initially faced a murder allegation before prosecutors accepted his plea to the reduced charge. He was remanded in custody pending sentencing next month.
Mr Poustie was described as a "poor soul" who had suffered a number of personal problems following the death of his mum.
He previously worked for a number of years for B&Q.
Mr Poustie and Anderson were said to have had a falling out which led the killer to state to another friend: "I will torture him."
On Wednesday, the High Court in Glasgow hear Anderson met Mr Poustie on July 3 before going to his flat in Dundee.
Prosecutor Adrian Cottam revealed how it was there Anderson tortured his terrified victim overnight.
Mr Poustie was strapped to a chair before being repeatedly punched.
Anderson next got a woman in the flat to collect a hammer and a baseball bat.
The victim was then hit across the legs with the weapons as he screamed in pain.
Mr Cottam told the court: "He repeatedly begged him to stop. Anderson said he had betrayed him and would take what was given to him."
Mr Poustie then had a pillow case put over his head as he sat "immobilised" in the chair.
Anderson told the woman to "boil the kettle". A cup was then filled with roasting water and poured over the victim.
The court heard Mr Poustie's ordeal ended the next day but the exact time was not clear.
He got out of Anderson's flat and was later spotted looking "injured and disorientated".
Mr Poustie visited a friend but, after leaving, was found collapsed in the street ten minutes away.
He was taken to hospital, where he suffered a cardiac arrest and never recovered.
Mr Poustie had suffered extensive bruising and scalding as a result of what happened.
It emerged existing health issues were also a factor in his tragic death.
Anderson was arrested days later. After he being told Mr Poustie had died, he said his victim "must have been hit with a car" and "fallen over".
His QC Mark Stewart said the killer was "ashamed" and "deeply regrets" what occurred.
Judge Lord Boyd deferred sentencing until January 18 in Edinburgh.