A man from Union Mills has admitted drug dealing to pay off a £2,000 drug debt.
Simon Fletcher of Snugborough Avenue, appeared at Douglas Courthouse.
He admitted two counts of possessing cannabis with intent to supply it and one of possessing MDMA.
The court heard police found 74 grams of cannabis and 8.7 grams of MDMA in a car and at his home on February 19.
He told police he'd bought the drugs in a lane in Peel from a Snapchat contact, and he owed £2,000 to a dealer who'd threatened him.
He was bailed to appear again for sentencing on November 28.
Framework of new Sea Services Agreement ready, says minister
Attorney General says he's stepping down
Road closures in two towns for running event this week
Six weekend ferry crossings could face disruption
President of Tynwald announces retirement
Police close Mountain road
Fuel firm says "fingers crossed" for calmer energy costs
Ring doorbells will need data protection registration - but shouldn't cost you money