Follow CBSMIAMI.COM: Facebook | Twitter

MIAMI (CBSMiami/AP) — George Zimmerman, the former neighborhood watch volunteer who was acquitted of all charges in the 2012 shooting death of Trayvon Martin, will plead no contest on a misdemeanor charge accusing him of stalking a private investigator working for a documentary filmmaker, Zimmerman’s attorney said in court Wednesday.

READ MORE: Miami-Dade Schools Police, Broward Sheriff's Office Investigating School Threats, Student Arrested

Zimmerman will enter a written plea of no contest next month and serve some probation. According to his attorney, Zahra Umansky, the length of probation and other terms won’t be disclosed until the plea is entered.

“It’s an agreement we’ve reached with the state because we believe it’s in his best interests to amicably resolve this case,” said Umansky after a brief hearing in Sanford, Florida.

Prosecutors wouldn’t comment as they left the courtroom.

Under such a plea, a defendant doesn’t admit guilt, and a conviction is withheld if the conditions of the plea are met.

READ MORE: Vigil Held For UPS Driver Frank Ordonez, Killed Two Years Ago In Miramar During Police Shootout

Zimmerman fatally shot black teenager Trayvon Martin in 2012 in the central Florida city of Sanford. Zimmerman, who identifies as Hispanic, was acquitted of all charges in a case that raised questions about race and Florida’s “stand your ground” self-defense law which allows people to use force without retreating if they feel threatened.

Critics say the law unfairly allows young black men to be victimized by gun violence.

Zimmerman was accused of sending threatening messages to a private investigator who had contacted him about a documentary series on Martin. The documentary was produced by rapper Jay-Z.

A sheriff’s report said private investigator Dennis Warren received numerous calls and texts from Zimmerman in December. Zimmerman pleaded not guilty after being charged with misdemeanor stalking earlier this year.

Since his acquittal in Martin’s killing, Zimmerman has had several brushes with the law, including two cases of domestic aggravated assault that were later dropped.

MORE NEWS: Miami Dade College To Host Wake For Congresswoman Carrie Meek

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)