A 30-year-old Vietnamese man found at a cannabis factory on a South Norfolk farm has been jailed for two years.
Anh-toan Nguyan was at Pear Tree Farm in Kenninghall when police arrived to search the property on 25 September.
He jumped out of a window in a bid to escape but was later arrested, Norwich Crown Court heard.
He admitted producing cannabis but his defence lawyer said he was paid £100 to water plants and had a limited role in the operation.
Four bedrooms and a lounge were set out as growing areas at the farm, which had artificial lighting and walls covered with plastic sheeting.
Nearly 400 cannabis plants were found and it was estimated by police the farm could make up to £45,000 a year from growing the drug.
There was evidence of a previous crop at the farm which had been let under a tenancy agreement to a woman not named, the court heard.
Nguyan described himself as a "gardener" and was wearing only a T-shirt and shorts when police raided the farm.
Judge Alasdair Darroch said: "I accept you were not the tenant and your role was limited but active.
"I will not make any recommendation for deportation as that will be considered later by the immigration authorities."