1.1504900-210134492
FILE -- In this Sept. 20, 2012 file photo, Daniele Watts attends The Hollywood Denim Party at Palihouse in West Hollywood. A judge on Monday, May 4, 2015, ordered Watts and her boyfriend, Brian Lucas, to apologize to police officers the actress accused of racial profiling as part of a plea agreement to resolve a lewd conduct case. Watts and Lucas pleaded no contest to one count each of disturbing the peace with loudness and will have the case dismissed if they write apology letters, serve 40 hours of community service and stay out of trouble for one year. (Photo by Todd Williamson/Invision/AP, File) Image Credit: Todd Williamson/Invision/AP

An actress who accused Los Angeles police of racial profiling when they investigated a report she was having sex with her boyfriend in a parked car has been ordered to apologise to officers as part of a plea deal.

Daniele Watts, who appeared in Django Unchained, pleaded no contest Monday to disturbing the peace with loudness.

Los Angeles city attorney’s spokesman Frank Mateljan says Watts and her boyfriend, who entered the same plea, were sentenced to 40 hours of community and must write apology letters to three officers and the occupants of a building near where they were briefly detained last year.

Lewd conduct charges against the pair have been dropped.

Lou Shapiro, an attorney for Watts and her boyfriend, says the actress will apologise for her comments to police.