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.
First Keys sitting after general election
November timetable changes ahead of Manxman return
New music therapy service launches
MONEYVAL representatives arrive on Island
Island GPs to attend training on Tuesday afternoon
Firefighters called to Foxdale house blaze
Pub appeals for return of stolen note
Event hopes to explain Pokémon to parents