Amanda Bynes' Bong-Tossing Case Dismissed

Getty Images
Amanda Bynes ahead of a previous court appearance

The actress has complied with a judge's requirements that she stay out of trouble for six months and go to counseling twice a week.

A judge has dismissed actress Amanda Bynes' New York City bong-tossing case.

PHOTOS Surviving Child Stardom: How 9 Actors Fared, From Jodie Foster to Amanda Bynes

Bynes' lawyer appeared in court Monday. The actress was not present. The case was sealed after the dismissal.

The judge had previously said the charges would be dismissed if Bynes stayed out of trouble for six months and went to counseling twice a week. Attorney Gerald Shargel submitted an affidavit saying Bynes had complied with the court's requirements.

PHOTOS Amanda Bynes' Career in Photos: From Child Star to Troubled Adult

Bynes was charged last year with reckless endangerment and marijuana possession. Building managers called police because they said she was smoking pot in the lobby of her Manhattan apartment. When officers entered her 36th-floor apartment, they said they saw her heave a bong out the window.

PHOTOS 10 Celebrity Courtroom Hairdos (and Don'ts)

Shargel said outside court that the episode is now behind her.