The bong-throwing case that's been hanging over Amanda Bynes' head for more than a year was dismissed Monday by a New York judge after the actress complied with an order to stay out of trouble for six months and undergo counseling.

"She has provided materials that she has complied with whatever was required of her," Bynes' attorney Gerald Shargel confirmed.

Bynes was arrested and charged with reckless endangerment and marijuana possession in May 2013 after building police responded to reports that the 28-year-old was smoking pot in the lobby of her Manhattan residence. When officers entered her apartment, she allegedly threw a bong out the window.

The judge sealed the records in the case, which ties up yet another loose end after a period of bizarre behavior by the onetime Nickelodeon headliner.

In February in Los Angeles, Bynes pleaded no contest to reckless driving, which was a reduced charge related to her April 2012 arrest on suspicion of DUI. She picked up three years of probation and three months of alcohol education classes in that plea deal.

Last July, the "She's the Man" star was hospitalized on an involuntary 72-hour psychiatric hold after lighting a small fire in the driveway of a home in the Valley. The hold turned into months of inpatient treatment, and Bynes' mother was appointed as her conservator. 

Bynes, who was released from rehab in December, has since enrolled as a student at the Fashion Institute of Design and Merchandising in Irvine. With the conservatorship in place at least through September, she's been living with her parents in Los Angeles.

Follow @jpanzar for breaking news.