Thomas Cassidy (47), Cois Dalgan, Dundalk was charged with unlawful possession of drugs and possession for sale or supply on October 6.
Inspector Martin Beggy told the court that Gardai came across defendant in the street and when they searched him found a small quantity of cannabis.
The Gardai got a search warrant and when they went to defendant’s home he identified a number of locations in it where drugs were stored.
The total value of what was found was e1,000. He had no previous convictions.
The defendant’s solicitor, Mr Kiernan said his client had left the Army six years ago.
He had worked for a time as a builder but was now unemployed.
He said that defendant had told him that he had a sore back and that cannabis helped him sleep.
He was very embarrassed about what had happened, especially in view of his previous good character.
Judge Flann Brennan ordered defendant to complete 120 hours community service.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.