A man who took part in an armed robbery of a Dublin pharmacy was arrested after he and his accomplice were later discovered asleep on a pile of the stolen cash..

Luke Curry (aged 25) held open the security door of the shop while his accomplice entered the shop. The other man was masked and carrying a kitchen knife.

Curry of Shancastle Avenue, Clondalkin, Dublin pleaded guilty at Dublin Circuit Criminal Court to robbery of the Jobstown Pharmacy, Kiltalawn Way, Tallaght, Dublin on February 12, 2013.

Judge Desmond Hogan adjourned sentencing to January in order to have victim impact reports prepared.

Garda James Ward told Elva Duffy BL, prosecuting, that staff in the pharmacy buzzed a security door open to let Curry in because they recognised him as a customer.

He was closely followed by the armed man who shouted at staff to “give me the money and tablets”.

After staff handed over money Curry said to the accomplice: “Come on, let’s get out of here”.

The staff said they were in fear during the robbery, during which €400 was stolen.

As a result of garda inquiries and a local tip off later that day, gardaíi went to a house near the pharmacy. They looked through a window of the house and saw the two suspects sleeping on a couch inside.

Gardaí went in to the house and had to wake the men up. They found €275 of the stolen cash in a pile under where Curry’s accomplice was lying, and arrested both men.

The second man cannot be named because he is awaiting trial.

Curry was too intoxicated to be interviewed but he later claimed he was in the pharmacy for innocent reasons.

He has 12 previous convictions including one at Tallaght district court for drug dealing.

Sarah Jane O’Callaghan BL, defending, said the father-of-two is now drug-free.