Footballer John Terry was goaded about an alleged affair before throwing a racist insult at Anton Ferdinand, a court has heard.
Chelsea and England defender Terry, 31, is accused of calling Ferdinand a "f****** black c***" during a Premier League match last year.
Appearing at Westminster Magistrates' Court, Terry sat in the dock wearing a light grey suit, white shirt and pink tie.
The court heard that Terry told Queens Park Rangers player Ferdinand to "f*** off" and also called him a "f****** k**bhead" as the pair exchanged insults.
Opening the prosecution, Duncan Penny said: "The Crown alleges that the defendant, most probably in response to physical gestures being made by Mr Ferdinand which the defendant understood to refer to the well-publicised allegation of an extra-marital affair with a team-mate's wife, shouted at Mr Ferdinand."
He went on: "The Crown's case is that the words were abusive and insulting in a straightforward sense and that the term 'f****** black c***' was uttered as an abusive insult demonstrating hostility based on Mr Ferdinand's membership of a racial group."
Terry maintains he was only sarcastically repeating words that Ferdinand wrongly thought he had used.
He is accused of a racially aggravated public order offence, which he denies.
The trial, expected to last five days, continues on Tuesday.