Amanda Bynes has been released from police custody.

The 'She's The Man' star appeared in court in New York City on Friday morning (24.05.13), where she was formally charged with attempted evidence tampering, reckless endangerment and marijuana possession.

The troubled starlet was booked for drug possession on Thursday evening (23.05.13) when police visited her apartment after receiving a report of a disorderly person.

During the hearing, the 27-year-old actress denied throwing a bong out the window in front of arresting officers, and also accused them of ''roughing her up.''

She claimed she was ''improperly arrested'' because the object she threw was ''just a vase'', according to gossip website TMZ.com.

An arresting officer is quoted as saying in the criminal complaint: ''I observed [Amanda] grab said bong, run to the westbound-facing window, and throw it out the window where numerous pedestrians were walking on the 8 Avenue and West 47 Street sidewalks below.''

The judge waived bail but warned the actress that an arrest warrant would be issued if she misses her court date in July.

She was spotted leaving the New York City court on her own and heading home in a taxi.

This not the first time the former child star has had a brush with the law.

Amanda was banned from driving after being charged with driving under the influence (DUI) and previously had to settle two separate hit-and-run cases.

Following the former Nickelodeon star's arrest on Thursday it was revealed that her parents are increasingly concerned about their daughter's disturbing behaviour.

A source previously said: ''Rick and Lynn have met with several lawyers that handle conservatorships in the past month because they want to get a conservatorship of their daughter.''