A black LAPD police officer was awarded $1.2 million dollars Tuesday for the racial harassment he endured from his white supervisor and other white officers on the force.

Earl Wright, who was with LAPD for 23 years, claimed in court that his supervisors did not take his complaints seriously, causing him to miss work due to stress and anxiety.

Wright detailed one instance where he says he was given an anniversary cake with a fried chicken leg and a piece of watermelon on top. The cake was apparently given to him by a white officer, Sgt. Pete Foster, who supervised the Community Relations Office in Central Division.

On another occasion when Wright asked Foster to leave early, Foster replied by asking, “Why? You gotta go pick watermelons?”

Wright also says Foster sent him a text message with an image of one yellow duck with its arms raised above its head while standing in front of five black ducks. The caption read, “what’s up n*gga.”

Wright also says that at one point, his face was superimposed on the image of the characters from the show Sanford and Son.

The city argued that Wright failed to report the abuse and laughed at the racist jokes, but Wright’s attorney said he feared retaliation.

The jury awarded Wright $600,000 for past economic damages and $600,000 for future damages.