A full-time carer is to be sentenced later, after he was caught carrying just under €37,000 of heroin in a 10-litre mayonnaise bucket.
James Noonan (20), of Nangor Road, Clondalkin, pleaded guilty at Dublin Circuit Criminal Court to possessing heroin for sale or supply at Balgaddy fields, Ronanstown, on April 17, 2012.
The court heard that Noonan lives with his grandparents and is a full-time carer for his grandmother, who suffers from liver disease and dementia.
Judge Mary Ellen Ring said she would delay sentencing for the benefit of his grandmother.
Garda Colin Sullivan told Fiona McGowan BL, prosecuting, that Noonan was spotted walking through waste ground at Balgaddy fields, between two housing estates while carrying a 10-litre mayonnaise bucket.
Gardai found him soon after sitting in an old brick shed off Lynch's Lane, weighing up a brownish substance in half a beer can.
He was arrested and another bag of the substance was found in his pocket.
It was later analysed and found to be 246g of heroin, with a street value of €36,981.
Noonan told gardai he had been told to pick up heroin in a mayonnaise bucket that would be hidden in the field.
The bucket contained two bags of heroin, weighing scales, a roll of bags and a spoon.
His instructions were to weigh the heroin and put 28g into each bag.
He said he didn't know how much he was going to be paid, but that he had done it a few times previously and had received between €200 and €300.
Tom Neville BL, defending, said his client was at the "bottom rung of the ladder".
He said that Noonan suffered considerable injuries some months later in a related incident. Judge Ring remanded Noonan on bail. He is due to be sentenced on May 14.