A 77-year-old man was beaten up and robbed in his Lanarkshire home by two men posing as workers.
The pensioner was struck repeatedly with a metal pole before the pair ransacked the Bothwell property.
William Dunbar, 28, of Cordiner Court, Lesmahagow, appeared at Hamilton Sheriff Court this week, Lanarkshire Live reports.
He admitted assaulting and robbing the elderly man in Wingfield Gardens on December 28, 2019.
READ MORE: Glasgow prisoner death probe after hammer attack brute dies in jail
Abby Seal, prosecuting, said Dunbar and an accomplice turned up at the house at 10.30pm.
She told the court: "The pensioner, who was alone, opened the door to them.
"The man with Dunbar said he had done roughcasting work there previously and offered to fix a leaking pipe.
"The householder didn't recognise either man, but invited them in.
"On entering, Dunbar's companion said 'Give me your bank card'. He produced a metal pole and struck the pensioner to the left side of the head.
"He continued to hit him with the pole, shouting 'Give me your bank card or I'll kill you'."
The pair rummaged through the terrified victim's shirt and trouser pockets, taking £27 from him.
He also had his wristwatch removed and Dunbar's accomplice smashed the doorbell unit with the metal pole.
Sign up to Glasgow Live newsletters for more headlines straight to your inbox
The robbers then went into the dining room where they ransacked drawers and overturned furniture before leaving the property.
Ms Seal added: "The pensioner called 999 and officers arrived to find him visibly shaken. There were obvious signs of a disturbance.
"He had bruising and swelling to his right eye, bruising to his knuckles and a cut to his thumb.
"Extensive police enquiries were carried out and Dunbar was identified through a trawl of CCTV and forensic examination of the victim's clothing."
The court heard that Dunbar failed to turn up for an earlier hearing. He was arrested earlier this month and has been in custody since.
Sheriff John Speir deferred sentence until next month for background reports. Dunbar was again remanded in custody.
A second man, William McPhee, 35, described as a prisoner, had his not guilty plea to the charge accepted.
READ NEXT
Glasgow mountain biker Rab Wardell dies days after winning Scots championship
Glasgow plea for school lollipop person at one of city's busiest roads turned down
Captain of cruise ship docked in Glasgow during covid says leaving city 'pulled at heart strings'
'Hero' Lanarkshire police dog breaks up 'bladed weapon fight' as two charged with assault
Great Scottish Run: Glasgow road closures during October's race drivers should be aware of