"Django Unchained" actress Danièle Watts - who was accused of prostitution and indecent exposure while showing affection to her boyfriend Brian Lucas - has pleaded no contest Monday to disturbing the peace with loudness in the September 2014 incident.

E! News reported that the actress and her boyfriend exchanged a plea deal in order to drop the conduct charge against her. The two are both ordered to "serve one-year formal diversions and complete 40 hours of community service at a court-approved facility."

The actress and her boyfriend were also ordered to write an apology letter to Los Angeles Police Dept. Sgt. Jim Parker and the two other arresting officers involved in the incident.

The charges are from a September 2014 incident where Los Angeles police officers responded to a call that an African-American female and a white male were having intercourse in their car near the CBS studio parking area.

Watts took to Facebook to defend herself, saying that she was targeted by police officers because she planted a kiss on her boyfriend, who is white.

"Today I was handcuffed and detained by 2 police officers ... after refusing to agree that I had done something wrong by showing affection, fully clothed, in a public place," she wrote on her Facebook account. "When the officer arrived, I was standing on the sidewalk by a tree. I was talking to my father on my cell phone. I knew that I had done nothing wrong, that I wasn't harming anyone, so I walked away." 

She continued, "Today I exist with courage, knowing that I am blessed to have experienced what I did today. All of those feelings, no matter how uncomfortable. These feelings are what builds my internal strength, my ability to grow through WHATEVER may happen to me."