A man who shouted “the sheriff is a p***k and my lawyer will prove it” appeared at a hearing.

Sean O’Halloran was arrested after a different matter on March 23 this year on Anniesland Road in Glasgow.

He was put in the rear of a police car and he became aggressive.

He shouted at cops and threatened to spit in their faces. He tried to spit at them unsuccessfully.

One officer exited the car and took control of him by holding him but O’Halloran, of Govan, continued to spit.

Cops called for a cell van to assist.

Police put him in a recovery position as tried to kick them.

Officers managed to hold him while they waited.

When the cell van came, police tried to put him in but he threw himself forward and kicked out.

The 22-year-old was taken out and laid on his back. He was warned and he calmed down. He was taken to Clydebank police station.

He shouted and swore at officers, saying: “Oh, f**k your dad”, “The sheriff is a p***k and my lawyer will prove it”. He also called a cop a “specky m***o”.

READ NEXT: First Bus driver punched passenger in the face and dragged him off bus

O’Halloran appeared at Glasgow Sheriff Court recently after he pleaded guilty to several charges, including assault, behaving aggressively, spitting and making offensive remarks.

His lawyer said: "I would ask you to give him one final opportunity."

Sheriff Vincent Lunny replied: "I think I have to take into account his age."

The solicitor added: "Other than a Paisley matter, he has no outstanding matters. He shouted in a drunken state. He tells me he was also in a depressed state."

The sheriff said: "This is one last chance, if you are back before me with a breach, you will go to jail."

O’Halloran also pleaded guilty to sexually assaulting a 14-year-old girl and making sexual comments to another, aged between 13 and 16.

These incidents both took place in Bellahouston Park, between May 25, 2021 and August 31, 2021.

Finally, he admitted assaulting a man and behaving aggressively on Drumoyne Place on December 16, 2020.

O’Halloran was sentenced to two years of supervision with a notification requirement and an 18-week restriction of movement requirement.

He was also put on the sex offenders register for two years.

Sheriff Lunny warned him: "You are on the register for two years. If I have to jail you, you will be on it for 10 years."