LONDON -- Police and paramedics raced to a British courthouse after a defendant reportedly cut his own throat in the dock.

The Western Telegraph newspaper says its reporter was at Haverfordwest Magistrates’ Court in Wales when Lukasz Robert Pawlowski asked to go to the toilet, returned, then “started slashing at his throat.”

Pawlowski was in court Wednesday for sentencing after admitting sexually assaulting a shop assistant.

Get Breaking News Delivered to Your Inbox

“He returned to the dock very quickly, remained standing then muttered something through the glass,” the Western Telegraph’s reporter told Sky News.

Haverfordwest Magistrates’ Court is seen in Wales, January 11, 2017. REUTERS

“Suddenly everyone in the courtroom turned as he made stabbing motions at his neck. I couldn’t see what he had in his hand, but he made several frantic jabs at his throat.

“It all happened so quickly, the paramedics and police were on the scene really quickly and treated him in the dock as the court was sealed off,” the reporter said.

The Wales Ambulance Service says a man was airlifted from the court to a hospital with a serious injury.

Police say they are not looking for anyone else over the incident.