A drug dealer was caught in possession of 180g of cannabis when police executed a search warrant in his hotel room.
Luke Hurst, 31, was staying with his girlfriend at the Tadross Hotel in Barry when police officers carried out a search of his room.
The court heard the incident occurred at the hotel in Holton Road on June 29, 2016.
Nicholas Gareth Jones, prosecuting at Cardiff Crown Court , said a total of 180g of cannabis was recovered by police, including some stalks and some female flowering head known as “skunk”.
The court heard Hurst was not in the hotel room when it was searched but was arrested later and made “complete denials”.
Mr Jones said his phone was seized and found to contain messages relating to drug supply.
He alleged Hurst was involved in street dealing and played a significant role.
Prosecutors said the defendant had been before the courts for 57 previous offences, including several for possessing cannabis.
He was jailed in September 2016 for two years for assault occasioning actual bodily harm.
Hurst, from Islwyn Way in Barry, initially denied possessing cannabis with intent to supply but changed his plea on the day of trial.
David Pinnell, defending, said his client was motivated by financial gain and had “drug issues” at the time.
He told the court Hurst successfully engaged with the Probation Service and now has a job in Bristol.
Recorder Catherine Brown said: “You have been given the opportunity to show that you can, if you wish, live a life that is not blighted by drug use and crime.”
She noted the offending was linked to his own drug use.