Actress Amanda Bynes could remain in a mental health facility for up to two weeks, considerably longer that the customary 72-hour period for a 5150 hold.

Amanda Bynes was hospitalized Monday after starting a fire in front of a Thousand Oaks, Calif., home, deemed to be a danger to herself and others.

Authorities said she had no connection to the home.

Bynes, who is already facing drug charges in New York, was taken into custody for her own safety under California's Welfare and Institutions Code.

Otherwise known as a 5150 hold, this lasts typically for only 72 hours, but a source close to the case said officials may seek to have this one extended.

Deputies "investigated the incident and determined that she met the criteria of 5150," after which she "was detained and taken for a mental health evaluation."

Officials said the fire did not damage the property, but given Bynes' bizarre behavior and string of recent antics, she may be considered a risk.

In May, she was arrested for evidence tampering, reckless endangerment and marijuana possession after she tossed a bong out of her apartment.

Bynes has also had a series of runs in with authorities in Los Angeles County over the past 18 months that resulted in several auto-related charges.

In one of the incidents, she was taken into custody by deputies after her car struck a sheriff’s cruiser and Bynes was detained on suspicion of DUI.

Shortly after the arrest, she posted a message on Twitter asking President Obama to fire the cop who made the arrest, saying she does not drink.

In the months that followed, she was charged in two hit-and-runs involving other motorists, but a judge dismissed those cases after a settlement was reached.

Last year, her attorney entered a no-contest plea for Bynes to a charge of driving with a suspended license in a case filed by Burbank prosecutors.

This week's case, however, was the wildest yet. In addition to starting the fire, she allegedly lit her pant leg ablaze and doused her dog in gasoline.

A passerby saw her by the fire and called the authorities, who picked her up a short time later. Listen to the Amanda Bynes 911 call below: