Amanda Bynes could remain in a psychiatric facility until 2015.
Bynes is currently under an involuntary psychiatric hold after being arrested for starting a small fire in a neighbour's driveway last month, and her lawyer Gerald Shargel has revealed that the star is expected to receive treatment for the next year-and-a-half.
According to TMZ, Bynes' lawyer was in court to request that her trial – linked to an incident where Bynes allegedly threw a bong out of the window of her apartment – be postponed until the star had completed treatment in 2015.
TMZ reports that the case will likely be plea bargained because of weaknesses in the prosecution's case - which means it could be dropped altogether.
In another case for Bynes' drunk driving arrest in April 2012, one of Bynes' lawyers told the judge that his client does not have the mental capacity to understand the case, leading to the matter being transferred to a mental health court where another judge will determine Bynes' mental competency.
A source previously claimed that Bynes has been making "significant improvements".
The insider had said: "Amanda has made significant improvements, she is doing better than she was.
"There are no drug problems involved, it's all mental. She has deep anger and PTSD (Post Traumatic Stress Disorder), which tripped a psychotic episode... She is very ill, but manageable.
"Amanda genuinely wants to get better and has wanted to get better for some time."