Related charges against the 27-year-old star, who recently completed nearly six months in rehab in an inpatient facility, will be dismissed if she stays out of trouble for six months and goes to counseling.
A Manhattan District Attorney Office spokesperson tells E! News Bynes was offered and accepted an adjournment in contemplation of dismissal on Friday, Jan. 10, meaning if Bynes chooses to comply with the terms of completing six months of counseling, then case will ultimately be dismissed.
Bynes did not appear in court and her attorney Gerald Shargel appeared on her behalf. Upon exiting the courthouse, he told reporters he was very happy with the outcome and said Amanda is doing well, but still has a "long road" ahead of her.
"She's making progress and we're very pleased," he said.
Bynes' attorney was given until June 30th—the next court date—to file an affidavit saying his client is complying with the terms of the agreement and completing her six month counseling requirement. Once Bynes completes the six months, the case will be dismissed.
In May, the Hairspray star was arrested in New York after allegedly throwing a bong out of her Midtown apartment window when police showed up in response to a call about a disorderly person in her building.
She has been booked on charges of reckless endangerment, tampering with evidence and criminal possession of marijuana.
Two months later, the aspiring fashion designer was placed on an involuntary 5150 psychiatric hold after she was seen standing near a gas can and a small fire on a household driveway in Thousand Oaks, Calif. Per a judge's orders, she was sent into treatment and later moved to a rehabilitation facility in Malibu.
After leaving rehab in early December, Bynes' family attorney Tamar Arminak told E! News, Amanda "is doing very well and reestablishing a close and loving relationship with her family."
"Despite the fact Amanda is no longer in a facility, her outpatient treatment is continuing," Arminak told People in a statement on Wednesday, Dec. 4. "She's very happy to reestablish the loving relationship with her family that she once shared."
Bynes has since been seen spending quality time with her parents, Rick and Lynn Bynes, and she most recently enrolled for the winter quarter at the Fashion Institute of Design & Merchandising in Orange County.
—Reporting by Claudia Rosenbaum