Updated

A judge has granted Amanda Bynes' mother a temporary conservatorship over the former child actress.

Ventura County Judge Glen Reiser ruled Friday that Richard and Lynn Bynes should be allowed limited control of their 27-year-old daughter's personal affairs, including medical treatment.

Reiser said a mental health court has control over Bynes' medical treatment, but if she is released from a psychiatric facility then her mother will have authority to decide treatment.

Lynn Bynes will also have control over her daughter's finances.

The former Nickelodeon comedy star has been in a psychiatric hospital since last month. Authorities placed her in the hospital after she started a small fire in the driveway of a house in her hometown of Thousand Oaks, Calif.

Earlier this summer, Bynes appeared in a New York court on allegations that she chucked a marijuana bong out the window of her 36th-floor Manhattan apartment.

She also has taken to social media to criticize a host of celebrities recently.

In the late 1990s and early 2000s Bynes was one of the hottest actors on children's TV.

Beginning in 2000, she won four consecutive Kids Choice Awards for best television actress, the first for her role in the ensemble kids comedy-variety show "All That" and the others for her starring vehicle "The Amanda Show." She also received Kids Choice Awards for best movie actress in 2003 and 2004 for the films "Big Fat Liar" and "What A Girl Wants."

Bynes, who grew up in Thousand Oaks, also starred in the popular television series "What I Like About You," which aired from 2002 to 2006, and several TV movies before her career began to decline.

The Associated Press contributed to this report.