An Elland man who grew cannabis plants in his flat has been ordered to do 250 hours unpaid work for the community.
Police searched Rafal Pojawa’s home at Portland House, on Huddersfield Road, last August after neighbours raised concerns about the smell of cannabis.
Prosecutor Robert Galley told Bradford Crown Court that in a locked room in the flat officers found a tent together with equipment needed to grow cannabis and eight plants.
It was estimated that the plants could have yielded cannabis worth about £3000 on the streets.
Officers also seized just under £1000 in cash and Pojawa accepted that he had been selling some of the cannabis he grew to friends who visited the flat.
In his police interview Pojawa, who had no previous convictions, said he had started growing the plants for his own use and bought the equipment off eBay.
Pojawa pleaded guilty to producing cannabis and possessing the drug with intent to supply.
Judge John Potter sentenced Pojawa to a 12-month community order and ordered him to do 250 hours unpaid work.
He said Pojawa had thrown his good character away and it was sad to see someone like him at the crown crown for serious offences.
Judge Potter said the £980 seized by the police would have to paid over as part of a confiscation order against Pojawa.