A man who set up a cannabis factory in Rotherham and his friend who sold the drugs have been dealt with at Sheffield Crown Court.
Ryan Bradley, aged 22, of Katherine Road, Thurcroft, admitted supplying cannabis and was jailed for 27 months.
Lee Crowther, of Birks Holt Drive, Maltby, admitted producing cannabis.
The 42-year-old was given a nine-month prison sentence, suspended for 18 months.
Police found 20 cannabis plants at Crowther’s home, as well as a text message on Bradley’s phone about drug dealing.
Sgt Wayne Nuttall said: “Drugs ruin lives and are a blight on communities.”