Former England star Trevor Sinclair racially abused a policeman after being arrested for drink driving whilst twice the limit, a court heard.
The 44-year-old TV pundit, asked the officer if he was being arrested because he was black, accusing the police of racism before urinating in a police car, Blackpool Magistrates' Court heard.
Sinclair continued being racist after he was taken to the cells at Blackpool Police Station.
Sinclair, of Victory Boulevard, Lytham, Lancashire, pleaded guilty today to drink driving and a racially aggravated public order offence on November 12 last year.
Nick Freeman, representing Sinclair, said the "catalyst" for his behaviour that night was being subjected to racism, in front of his family, while out having a meal hours earlier.
Mr Freeman said a woman had approached the father of four, patting him on the head and calling him a "little chocolate man".
After Sinclair's guilty pleas the prosecution dropped other charges including assault on a police officer, failing to provide a specimen and criminal damage.
Sinclair is expected to be sentenced later today.
Jim Mowbray, prosecuting, told the court that, at around 8.45pm on November 12 last year, police were alerted to an incident at Sinclair's home address but were told he had left in his Tesla car and he may have been drinking.
Patrols were out looking for him and found his car stopped in the middle of the road in Clifton Drive, Blackpool, after Sinclair had been in collision with a woman who had stepped into his path after getting out of a taxi.
In a statement read to the court, Pc Gareth Evans said: "I asked Mr Sinclair what had happened. It appeared to me he was drunk, unsteady on his feet and his eyes were glazed."
Sinclair was given a roadside breath test and was found to be twice over the drink-drive limit, giving a reading of 72 micrograms of alcohol per 100 millilitres of breath, with the limit being 35mg.
Sinclair was cautioned and arrested and a secure van requested to the roadside - but then his behaviour changed, the court heard.
Pc Evans' statement continued: "Before his arrest he was very calm, polite and courteous.
"He started asking if it was because he was black. Black people are under-represented in the police. He started getting more confrontational, he was getting more aggressive. I did not like the direction the conversation was going in - he was accusing me of being racist.
"He began to become more agitated and aggresive."
During the search, the officer discovered Sinclair's trousers were wet - and that he had urinated while sitting in the police car.
And when Sinclair was put in the back of the police van, he called the officer a "white..." followed by a swear word as the van doors slammed.
Sinclair made further racist comments while in the back of the van and continued to be "obnoxious, aggressive and racist while being booked in".
Pc Evans' statement concluded: "Sinclair's behaviour following his arrest was awful. I'm not a racist. His behaviour was extremely racist."