A man who set up a cannabis farm in the loft of his rented Churwell home has been jailed for two years and four months.
Police found 55 cannabis plants growing at the home of Andrew Parkinson on Granny Avenue.
Leeds Crown Court heard the plants were 12 weeks away from maturing and were producing drugs with a street value of more than £21,000.
Prosecutor Heather Weir said police discovered the plants in a felt-lined tent in the loft.
The electricity supply at the house had been by-passed to power heating and lighting for the crop.
Officers also discovered boxes of syringes and bottles of fertiliser together with a manual on how to grow cannabis plants.
Miss Weir said the house appeared to be unoccupied and there were no carpets and only a few items of furniture.
She said: “The crown would say he played a leading role in an operation capable of producing significant quantities of cannabis for commercial use.”
Parkinson, 31, had previously admitted producing cannabis when he appeared before Leeds Magistrates Court on August 28.
Mitigating, Hannah Bray said Parkinson personally used up to an ounce of cannabis per week as he felt it helped ease depression he suffered from.
Jailing him for two years and four months, Judge Christopher Batty said: “It was a significant operation, one that had been set up in a tenancy you used to have exclusively for the production of cannabis.
That production was primarily as a commercial enterprise in order to get some money.”