A gambling student was robbed of his winnings outside a casino by a teenager who had just lost all his money on the blackjack tables.
But the robbers then handed him back £40 so that he could get home.
Business management student Richard Carter had been spotted as he enjoyed a winning streak inside Les Croupiers at Leckwith, Cardiff Crown Court heard.
He was drunk but still in control of what he was doing as he was watched by friends Callum Williams, 18, and Ben Emmott, 21, said prosecutor Jonathan Bushell.
“They joked with him and Williams was seen sitting next to him,” he said.
“His own friends left the casino but because he was having more success he stayed and by 5am had won £300.”
Mr Carter’s home is in Birmingham and being new to Cardiff he asked the pair how to get back to Gabalfa.
Mr Burshell said: “They said to follow them and Williams was chatting to him but suddenly changed and demanded ‘Give me your phone’.
“Mr Carter thought he was joking but Ben Emmott then started shouting at him to hand over his money.
“It was two against one and he handed over his wallet.”
Williams, of Hafod Way, Ely, handed it back with just £20 left inside and threw the student another £20 when he said it wasn’t enough for him to get home, before saying he would come back and kill him if police were called.
The student said Emmott had been “bouncing around and buzzing with excitement” at what was taking place.
Emmott, of Knightswell Road, Caerau, was arrested the next day, on May 3 and said he had nothing to do with it, but was then shown CCTV.
Williams gave himself up on May 7 but fell asleep as he was being interviewed at Cardiff Bay police station.
He woke up long enough to say “I done it – I robbed him” and nodded off again.
When he eventually woke, he admitted he had a gambling addiction and had lost £120 that night.
His previous convictions include burgling the home of a 94-year-old man. Heath Edwards, defending, said: “His underlying problem is an addiction to heroin and to gambling. There was no plan to rob – it just happened as they left together.”
Emmott, the father of an eight-month-old baby, was said not to have played any part in the robbery apart from “jumping up and down”.
“He has an issue with his thinking skills,” the court was told.
They were jailed for 12 months – Emmott in prison and Williams in a young offenders’ institution. Both admitted robbing him.