A drug dealer was caught after police stopped him for riding his motorcycle on the pavement, Lincoln Crown Court was told.
Callum Robinson attracted suspicion when the officer who approached him smelled cannabis and decided to search him.
Leanne Summers, prosecuting, said “The defendant denied any knowledge of cannabis.
“The officer searched the defendant and drugs were found.
“As a result of that, a search was undertaken of his home. Upstairs in one of the bedrooms there was a cannabis grow.
“One bedroom had two hydroponic tents set up inside of it which completely filled the room.”
Miss Summers said that a mobile phone belonging to Robinson was checked and found to contain messages indicating he had been involved in drug dealing for the previous eight months.
Robinson, 25, of Scampton Avenue, Lincoln, admitted possession of cannabis with intent to supply on May 18, 2017.
He also admitted production of cannabis between February 18 and May 18. He was jailed for 12 months.
Judge Simon Hirst, passing sentence, told him “For a period of eight months or thereabouts you were conducting a significant cannabis dealing business.
“This is so serious that only an immediate custodial sentence can be passed.”
Mark Watson, in mitigation, said that Robinson joined the army on leaving school and planned to be a career soldier only to be medically discharged because of a knee problem.
He said that since then Robinson worked as a labourer and in retail but was then seriously injured in a motorcycle accident.
Mr Watson added “Since his arrest there is no suggestion that he has been involved in any further offending.”