A student has been arrested after video showed two others beating a girl on a school bus in Florida, school officials said.

The video, which was filmed with a cell phone and shared on social networks, lasts about 40 seconds and shows two students repeatedly hitting the girl on the head.

The third grade girl was attacked Wednesday on a bus at Coconut Palm K-8 Academy in Homestead, Florida. nbc miami informed.

Coconut Palm K-8 Academy in Miami-Dade, Florida.WTVJ

NBC News could not immediately reach a representative for Miami-Dade County Public Schools for comment Friday afternoon, but the district told it nbc miami had arrested someone in the attack.

“Miami-Dade Schools Police have arrested the offender and will be charged accordingly,” the district said. “In addition, those involved will be disciplined in accordance with the Student Code of Conduct.

The girl’s mother told NBC Miami that the violence occurred after a verbal argument escalated.

The bus was full, but the video does not involve students or adults. At one point, the girl crouches in her seat and puts her hands over her head to protect herself from her.

At another point, one of the guys stops hitting her as a second guy throws a flurry of punches from behind.

The students have not been identified and the girl’s condition has not been provided.

«The safety and well-being of our students is of the utmost importance,» the district said in its statement. «This school district goes to great lengths to promote the values ​​of restraint and respect, as well as responsible use of social media. We ask that parents reinforce these principles at home.»