CARMEL, Calif. – A California school district secured a restraining order against a “dangerous” fifth-grader with a learning disability, and are seeking a court injunction to ban the student permanently.

District officials allege an unnamed 9-year-old boy who attended Carmel River School frequently hit, kicked, slapped, pushed, shoved and spit on students and staff during his nearly two years there, Courthouse News Service reports.

Monterey Superior Court Judge Efren Iglesia granted a restraining order requested by the Carmel Unified School District that moves the student to a Monterey County Office of Education program in Speckles for emotionally disturbed students if his mother opts to send him back to school. The student suffers from multiple learning disabilities, including attention deficit hyperactivity disorder.

MORE NEWS: Know These Before Moving From Cyprus To The UK

In court records, school officials contend the child’s behavior became “increasingly unmanageable” and posed a threat to teachers, students and staff at Carmel River School, according to the news site.

“He has amassed a 58-page disciplinary record at the District, during just 21 instructional month,” according to the complaint cited by Courthouse News Service. “Examples of the defendant’s behaviors include hitting, kicking and spitting … throwing objects such as rocks and books, destroying property and threatening to hurt people. Defendant has pushed and shoved other students.”

In one particular incident, the student slapped a teacher who tried to mediate an argument with another student, then locked himself in a bathroom stall.

“He came out to slap his teacher some more, then spit on people, spit on the principal when he arrived, then threw books and chairs, hitting and kicking teachers the whole time, the school district says,” according to the news service. “The principal finally called the Monterey County Sheriff’s Office and a deputy had to forcibly remove him from a bathroom stall.”

“Previously he might threaten to hurt somebody … Now he is following through with his threats. His teacher has observed that defendant appears to have a greater desire to inflict pain upon other people,” the complaint states.

“In this case, because the student was really dangerous, there was a real potential that he was going to hurt another student or teacher; we went into court for injunctive relief,” district attorney Daniel Osher told KSBW-TV.

MORE NEWS: How to prepare for face-to-face classes

District officials allege they attempted to work with the boy’s family to get the child help, but they refused.

“For a significant period of time, they refused to allow the district to provide mental health therapy to defendant. They have undermined the district’s authority, conveying to defendant that he does not have to follow staff directives. … This conduct has exacerbated the instability and danger of defendant’s presence at Carmel River School,” according to the complaint.

The student’s mother was in court without legal representation and offered little argument on the judge’s decision, Courthouse reports.

She was emotional at the court proceeding, according the news site, but made it clear she doesn’t plan to take her son to the suggested school for emotionally disturbed students.

“I’m willing to home-school him,” she told the judge. “I’ve observed the Spreckels program. … It will hurt him. It does not meet his needs. I was willing to work with them [the school district], but then they did this. I won’t send him there.”

Both sides are due back in court in June to discuss a permanent injunction, the San Francisco Chronicle reports.