A neighbour invited into the home of a 92-year-old woman stole her pension from her handbag when she went to the kitchen to make him a cup of tea.
James Redmond (25) had a drug debt and was allegedly being threatened.
Redmond later told gardai he felt "really ashamed" of his behaviour.
He recently received a threeyear sentence at Dublin Circuit Criminal Court after mugging the same neighbour for her pension.
Judge Anne Watkin imposed an eight-month sentence, saying Redmond's behaviour was "horrendous" and "particularly nasty".
Judge Watkin said Redmond did not use violence but what he did was a terrible abuse of trust.
The defendant, of Dun- edin Close, Monkstown Grove, Monkstown, admitted stealing €240 on January 12 last year.
A garda told Dun Laoghaire District Court that Redmond was in the injured party's house as a guest when she went into the kitchen to make him a cup of tea.
The woman's handbag was in the sitting room and Redmond took the money from it, the garda said.
The court heard the woman had just collected her pension.
She later reported the theft to gardai. She knew Redmond was the culprit as there was no one else in the house. Gardai later spoke to the defendant, who promised to repay the money but never did.
Defence solicitor Ronnie Lynam said the theft was "opportunistic".
Mr Lynam said Redmond had a drug problem at the time and had built up a drug debt. He was under threat and needed money.
The lawyer said Redmond made admissions to gardai, telling them he felt "really ashamed" of what he had done.
The court heard Redmond had 11 previous convictions and had been jailed last month for three years.
In that matter, the same neighbour had just collected her pension and had arrived home last March 9.
Redmond was waiting for her and grabbed her bag from behind, causing her to fall.
He took all the cash in her bag - €487 - and ran off.
The woman was found lying on her back when gardai arrived at her home.