A mixed martial arts enthusiast tried to break into a number of vehicles after he had drunk a bottle of whiskey, a court heard.
Darren Flood (21) had been out with friends, but he had a falling-out with them and was left stranded in Donabate.
Judge Dermot Dempsey ordered him to complete 240 hours of community service in lieu of two months in prison.
The defendant pleaded guilty before Swords District Court to a number of theft-related matters.
They took place in Donabate village during the early hours of last March 5.
Gda Alan Carroll said gardai were called to Donabate at around 6.30am following reports that a suspicious male was going in and out of a number of gardens.
Gda Carroll said he found Flood hiding behind a bin in a house at the Somerton estate.
The defendant had €15 cash and a stolen Samsung mobile phone on him.
Gda Carroll said Flood had taken the phone from a car in the Cois Inbhir estate. There was no damage to the vehicle.
The officer said Flood had also been in the Carr's Mill estate, but he had not got anything.
The court heard that the defendant, of Portland Row, Dublin 1, has four previous convictions.
Defence lawyer Patrick Jackson said Flood co-operated fully with gardai and even walked them to a vehicle from which he had taken goods.
Mr Jackson also said that Flood did not disturb anyone, and the car owners were unaware of anything that had happened.
Mr Jackson also said no damage was caused to any of the vehicles and the property was all recovered intact.
In relation to the incidents, Mr Jackson said Flood had been out with friends and he had drunk a bottle of whiskey.
However, there was a row and he was left on his own in Donabate.
Mr Jackson said Flood played football and hurling as a teenager and is now heavily involved in mixed martial arts.
He also said he has not come to garda attention since this incident.
He is currently unemployed and completing a FAS course.
Mr Jackson said the defendant's father was in court to support him.
Ordering a probation report to see if Flood is suitable for community service and adjourning the matter to a date next month, Judge Dempsey said he hoped the defendant was "proud of yourself for dragging your father to court".