Police found over £700 worth of cocaine belonging to a Leeds pub manager when they raided the premises, a court heard.
Michael Faulding, 41, was arrested after officers executed a search warrant at the Red Lion, in Guiseley, on July 12 year.
Leeds Crown Court heard 15 grammes of the class A drug was found in bags in a kitchen cupboard in the pub’s living quarters.
A quantity of the drug had been divided up and placed into bags along. Digital scales were also found.
Faulding was managing the pub and living at the premises at the time of the raid. Faulding, now of Ned Lane, Bradford, refused to answer questions about the incident when interviewed by officers.
He pleaded guilty to possession of a class A drug with intent to supply.
Timothy Capstick, mitigating, said Faulding had no previous convictions for drug offences and had not been in trouble since the incident.
Mr Capstick said Faulding now had a different job which took him abroad for long periods and he was in a relationship with family responsibilities. He added: “The reality is that he is a different person now to the one he was then.”
The court heard Faulding was not supplying the drugs for commercial gain.
At the time of the offence he was using the drug on daily basis and had the cocaine to share with other users.
He was given a 16 month prison sentence, suspended for two years.
He was also ordered to pay £1,500 court costs.
Judge Penelope Belcher said: “Be in no doubt about this, if you come back to these courts for another offences you will be going to custody.
“You now have a very serious drugs offence on your record.”