A retired couple were caught growing cannabis in the bedroom of their home in an affluent north Leeds village after police were alerted by the smell.
David Marshall, 60, and Dawn Forman-Marshall, 61, answered a knock at the door of their home on Old Lane, Bramhope, to be confronted by suspicious police officers.
A court heard Marshall immediately admitted to growing the class B drug in the property and led the officers upstairs.
A total of 17 plants were growing in a bedroom which was equipped with growing equipment.
The electricity supply had also been bypassed.
The court heard the plants had a potential to yield cannabis with a street value of £3,880.
After they were arrested the couple told officers that they had grown the plants to use them for medicinal purposes.
Marshall pleaded guilty to producing cannabis and abstracting electricity.
Forman-Marshall pleaded guilty to producing cannabis.
Marlon Grossman, mitigating, said the couple were now retired but had both worked hard all their lives.
He said: “They are both very ashamed and embarrassed that at their stage of life they are before the court.”
Mr Grossman said they applied the cannabis to food for medicinal purposes.
The lawyer urged judge James Spencer, QC, to impose a conditional discharge. He said Forman-Marshall was deemed unsuitable for unpaid work, even light duties.
He added that the couple had pleaded guilty to the offences at the earliest opportunity.
Judge James Spencer, QC, told: “You both know what you have done is wrong.”
The pair were both made the subject of a 12-month community and supervision order in which they will have to attend a programme design to address their offending.
As he left the dock, Marshall said: “We are very sorry.”
The couple will now face an investigation under the Proceeds of Crime Act and a hearing is expected to be held in November this year.