A MAN who was caught importing ecstasy from Europe has been jailed for two years and four months.

Joseph Bailey went on the dark web to anonymously source the drug from Holland, paying for it with untraceable online currency Bit Coin.

The 27-year-old was caught out when one of the packages, addressed to him, was spotted after arriving in the UK on a freight plane.

Tessa Hingston, prosecuting, told Swindon Crown Court how a package from The Netherlands was intercepted at Heathrow last summer.

She said the paddy Jiffy-bag style envelope was opened and found to contain 50 pink and blue tablets and a crystalline substance.

When the pills and powder were examined they were both found to be MDMA, the chemical term for ecstasy, with a street value of almost £400.

"As a result of these items being seized officers attended his address in Stanton St Quintin and he was arrested," she said.

At the house they found two bags containing a small amount of cannabis along with £140 in cash, an a iPhone and a computer.

They also found a number of similar envelopes from The Netherlands which were identical to the one they had seized.

When the phone was examined officers found a photo of him standing next to a cannabis plant as well as a variety of text messages.

In one he was asked if he has 'any pills to sell', to which he replies that he has, 'they are £10 each'.

Miss Hingston said when he was questioned he said he had no idea why the drugs were being sent to him saying he had only bought vinyl records from Holland.

Bailey, of Court Gardens, Stanton St Quintin, pleaded guilty to importing class A drugs and possessing cannabis.

Guy Draper, defending, said that it had been an 'extremely unsophisticated' operation importing drugs.

"He sought, as you will see in the summary, through the dark web with the assistance of Bit Coin currency to buy them anonymously," he said.

"But he had them delivered to his home address in his own name. It goes some way to demonstrate the nature of this activity."

He said that the messages found on the phone were from a long time ago when he would share pills with friends, after he started using them to deal with his anxiety.

Being caught had been a turning point for him and he was now clean of drugs, is working with his father and in a stable relationship.

Jailing him Judge Tim Mousley QC said "The offence is so serious that there has to a custodial sentence.

"This was unsophisticated. It can't just be dismissed as an error of judgement: I don't accept that."