A horticulture student grew cannabis plants worth almost £30,000 in his Dundee flat.
Kevin Martin, 29, of Rosefield Street, faces a jail sentence after he admitted cultivating and growing 73 plants in the one-bedroomed West End flat.
Dundee Sheriff Court heard the plantation was discovered after police raided the property following a tip-off last year.
Fiscal depute Lynne Mannion told the court officers arrived at his flat with a warrant on October 6 last year.
She said no one was at home and the officers broke into the flat and it was obvious to them that no one was living there.
Mrs Mannion said: “The flat was being used solely to grow cannabis. There were 73 plants found within the property.”
Experts said they were potentially worth between £21,900 and £29,200, depending on the yield from each plant.
Police also found a shoebox with cannabis in it, thought to be worth between £200-£300, a set of scales with traces of cannabis on them and a mobile telephone which showed evidence of drug deals.
She said Martin was later traced at his partner’s home address and when arrested and interviewed he told them: “What can I say? I’m just pleading guilty.”
Sheriff Lorna Drummond told Martin: “This seems to be a fairly large-scale amount of cannabis you were growing. I note you have two previous convictions for drug offences.
“I’m going to call for a criminal justice social work report and a restriction of liberty order assessment.”
Sheriff Drummond released Martin on bail and deferred sentence until October 3.