Amanda Bynes

A judge has ruled that Amanda Bynes is competent to stand trial in her DUI case, TMZ.com reports.

In September, a lawyer for Bynes made the case that she doesn't have the mental capacity to stand trial. The case was transferred to a mental health court, where a judge ruled on Wednesday that she can stand trial. TMZ reports that a plea bargain is likely.

Amanda Bynes' increasingly erratic behavior: A timeline

In July, Bynes was hospitalized on a 5150 involuntary psychiatric hold after she started a small fire in a resident's driveway in Thousand Oaks, Calif. The three-day hold was ultimately extended to December, and Bynes was transferred to a rehab facility. She is expected to be released by Christmas. Back in August, Bynes' mother was also granted a temporary conservatorship over her affairs after a judge ruled that the actress had a "lack of capacity to give informed consent to medical care." According to TMZ, Wednesday's ruling is not expected to impact her conservatorship.