A lawyer for a teenager accused of assaulting a teacher’s aide at a Florida school has filed a motion saying his client is “not mentally competent to stand trial.”

The Flagler County Sheriff’s Office says the attack happened after the teacher’s aide took away the student’s video game device. The student, who is 17, is charged with a felony and is being tried in adult court.

“The student stated that he was upset because the victim took his Nintendo Switch away from him during class,” a news release from the office says.

A defense attorney filed a motion asking that experts consider the mental competency of the teen.

Court documents indicate the student was living in a group home for children and young adults with certain disabilities including autism and developmental disabilities. Group home care involves people with varying disabilities living together and receiving support from staff that may include therapists or health aides. 

In the motion filed Friday, the defense attorney wrote he believes the student is not mentally competent to proceed in the legal process, a legal standard defined as a person’s ability to make rational decisions and express themselves.

The teen was charged with aggravated battery on a school board employee, a first-degree felony punishable by up to 30 years in prison in Florida.

The teen is being held in the Duval County jail on $1 million bond.

$1 MILLION BOND:Student accused of attacking teacher’s aide over Nintendo Switch held on $1 million bond