Trevor Sinclair banned for drink driving after racially abusing PC
The 44-year-old TV pundit asked the officer if he was being arrested because he was black and accusing the police of racism before urinating in a patrol 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 on Tuesday to drink-driving and a racially aggravated public order offence on November 12 last year.
Passing sentence, District Judge Jeff Brailsford ordered Sinclair to pay Â£500 compensation to Pc Gareth Evans and gave the defendant 150 hours' community service for each offence, to run concurrently.
He also banned him from the road for 20 months.
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.