A serial burglar with 67 previous convictions, including 35 for burglary has been given nine months suspended detention for attempted burglary.
Donal Lee, who was addicted to cannabis at the time, said he did not remember committing the offence.
Lee (19), of Alverno Court in Laytown, pleaded guilty at Swords District Court to the attempted burglary at a house at Golf Links Road in Skerries on November 11, 2014.
The court heard evidence that the house owner, a woman in her 60s, observed Lee on CCTV cameras trying to enter the property. The woman contacted her son and the court heard that Lee did not manage to gain access to the house which was unoccupied.
Defence solicitor Fiona D'Arcy said Lee experienced difficulties when the young man's parents split up when he was a teenager.
"He had a severe cannabis addiction which is the reason for his offending and he has no recollection of this incident," said Ms D'Arcy. She said since the offence Lee has given up cannabis and does not want to return to his old ways.
Judge Dermot Dempsey said: "All other remedies have been exhausted at this stage," and handed Lee a nine-month detention sentence, suspended for two years and ordered Lee to attend the Probation Services.