POLICE discovered a 25-year-old man's cannabis factory when his home was burgled, Bradford Crown Court heard yesterday.
Ashley Docherty's neighbour in Mortimer Avenue, Bradford Moor, raised the alarm after the break-in on April 30.
He was arrested when officers found harvested skunk cannabis drying at the property.
Docherty, who admitted selling some of the drug to friends, pleaded guilty to production of cannabis.
Prosecutor Philip Adams said there had been 15 plants in a bedroom, with sheeting, lighting and ventilation.
Docherty's solicitor advocate, Mohammed Hussain, said he would not be growing any more cannabis after the drug factory led to his home being targeted by other criminals.
Judge Jonathan Durham Hall QC sentenced Docherty to 15 months imprisonment, suspended for two years, with 120 hours of community service.
He warned him: "You will go to prison if you do this again."