A Peterhead man tried to swallow a bag of cannabis to stop police from finding it after he was arrested.
Paul Chalmers hid one package of the drug, and tried to swallow another bag of resin after being taken to Fraserburgh police station on July 16 this year.
The drugs were worth less than £20.
Chalmers was then taken to Aberdeen Royal Infirmary where he shouted and swore at police officers.
Yesterday the 40-year-old, of 94 Clerkhill Road, yesterday admitted shouting and swearing at the officers and attempting to pervert the course of justice when he appeared at Peterhead Sheriff Court.
Fiscal depute Lixia Sun yesterday said the packages he had tried to conceal contained 0.1g of cannabis resin of a nominal street value and 1.9g of cannabis worth about £20.
She added: “While he was being conveyed through the entrance of the hospital, the accused shouted and swore at police officers. He was warned regarding his behaviour towards police officers. However, he continued.”
Chalmers also yesterday admitted to acting in an abusive and threatening manner towards a former partner on March 5 in a row over a missing mobile phone.
Sheriff Andrew Miller ordered him to carry out 100 hours of unpaid work – on top of the outstanding punishment he was given for a previous offence earlier this year.
In February, Chalmers was given 100 hours after admitting having a “Mexican stand-off” with police, after they arrested him following a complaint he had acted in an abusive manner on Peterhead’s Willowbank Road.
He refused to get out of the police car after officers arrived at Fraserburgh station on October 30 last year, forcing them to physically remove him.
Combined with other existing payback orders, Chalmers now has 320 hours outstanding to complete.
The court heard earlier that a broken ankle had prevented him from reducing his workload.
Yesterday Sheriff Miller warned Chalmers if he failed to complete the hours, he would be sent to jail.
He said: “I think I can justify dealing with these cases by imposing a further community payback order, although you must realise you have a substantial record.”