A judge in California has granted Amanda Bynes’ mother temporary conservatorship over the troubled actress. Ventura County Superior Court Judge Glen M. Reiser ruled Friday that Bynes’ mother, Lynn Bynes, should have temporary control over her legal, financial and medical affairs, according to Reuters.

The conservatorship will last until Sept. 30, when the judge will decide whether it should become permanent, TMZ reported.

Earlier Friday, Bynes’ so-called 5150 mental-health hold was extended by 30 days. TMZ said that Bynes’ doctors decided the actress was not in a good enough state of mind to leave the hospital and attend the hearing to determine conservatorship over her affairs. Under California state statute, a 5150 hold is extended when a patient is “gravely disabled” because he or she either has “a mental disorder” or “has been found mentally incompetent.”

Lynn Bynes will be able to control decisions involving the health and finances of her daughter during the conservatorship period, as reported by the Associated Press.

Amanda Bynes has been in a California hospital since July 24 on a 5150 hold after the 27-year-old actress started a small fire in a stranger’s driveway in Thousand Oaks, Calif. The episode was the latest in a series of bizarre incidents involving Bynes over the past year and a half.

In May, Bynes was arrested on suspicion of criminal possession of marijuana. Last September, Bynes was busted for driving with a suspended license. And earlier that year, she was arrested for on suspicion of driving under the influence and charged in two separate hit-and-run incidents.

Bynes has also been a constant presence on Twitter, attacking celebrities such as Rihanna, Drake, Jenny McCarthy, Miley Cyrus, Courtney Love, Lance Bass and Jay-Z, as well as political figures such as U.S. President Barack Obama and first lady Michelle Obama.

Bynes is a former child star in film and television. She played a lead role in the Nickelodeon sketch comedy series “All That” from 1996 to 2000. She hosted a variety series called “The Amanda Show” from 1999 to 2002. And she starred in the WB series “What I Like About You” from 2002 to 2006. Her most recent credit is a co-starring role in the 2010 movie “Easy A” alongside Emma Stone.