Amanda Bynes was charged with reckless endangerment after police say she heaved a marijuana bong out of an apartment window in New York City.
The former child star appeared in Manhattan court today wearing a tracksuit and a long, dishevelled blonde wig.
The incident happened at her apartment building on West 47th Street.
Police say a building official called police to complain that Bynes was smoking marijuana and rolling a joint in the building's lobby.
The officers went to Bynes' apartment where they saw heavy smoke and a bong, which she then threw out of the window in front of officers.
Her lawyer said she denies the incident.
Bynes rose to fame starring in Nickelodeon's All That and has also starred in several films, including 2010's Easy A.