A vile racist spewed homophobic abuse and spat at police as they tried to arrest him in the city centre.
Joseph Corcoran attacked officers and continued to spit all over his cell once in custody during the coronavirus pandemic.
The 23-year-old launched the verbal and physical assault when he was stop checked in Williamson Square on August 4.
While officers were dealing with him, it was found that he was wanted for breaching a supervision order and they attempted to arrest him.
It was then that he began hurling racist and homophobic abuse at the the police at the scene.
When he was taken into custody, Corcoran continued to spit with no regard for the ongoing concerns over COVID-19.
Later, he was charged with a racially aggravated Section 4A public order offence, three counts of common assault on an emergency worker and two counts of Section 4A public order offence motivated by homophobic comments.
At Liverpool Crown Court on Friday afternoon, Corcoran pleaded guilty and was sentenced to six months in prison.
A spokesperson for Merseyside Police said: "We have today, Friday 14 August, welcomed the sentencing of 23 year-old man for racially aggravated public order and three counts of assaulting an emergency worker.
"Joseph Corcoran, of no fixed abode, was arrested in Williamson Square in Liverpool city centre on 4 August this year after being stopped checked and found to be wanted on warrant for a breach of a supervision order.
Get the latest crime news, from your area, straight to your inbox
"Following his arrest he was racially and homophobically abusive to the arresting officers before spitting on them.
"He continued his behaviour in the custody suite and also spat all over his cell.
"He was remanded for court and pleaded guilty. He was sentenced to six months imprisonment."
Detective Chief Inspector Siobhan Gainer said: “The abuse that Corcoran levelled at the officers who were simply doing their job was shocking.
“Spitting is never acceptable but particularly in the current climate, with the threat of Covid-19, it is an added danger that police officers should not be faced with.
“Incidents such as this are taken very seriously and I am pleased that Corcoran will now serve a sentence behind bars for his actions.”