HARTLAND TWP. (WWJ/AP) – A teenage girl charged in an attack on a fellow Michigan high school student that was recorded on video and posted online has been sentenced to seven days of detention and 100 hours of community service.

The girl was sentenced Friday after earlier accepting a plea deal.

READ MORE: Man Charged, Accused Of Attempting To Kidnap His Ex-Wife In Van Buren Township

The girl had been charged in juvenile court with aggravated assault in the March 12 altercation at Hartland High School, about 40 miles northwest of Detroit. The Livingston County Prosecutor’s Office says the girl entered a guilty plea instead to assault and battery.

A video of the incident shows one female student arguing with another before grabbing her from behind by the hair, pulling her to the ground and punching her before an adult breaks up the attack. The victim, also 14-years-old, reportedly suffered a broken nose and concussion in the attack.

READ MORE: MSP: Suspect Found Driving With Gun, Drugs & No License

Sheriff Bob Bezotte said the girls started arguing in the classroom when the victim ”made fun” of a personal situation the suspect was discussing with another friend. He said the argument escalated into violence when the girls got into the hallway.

“The victim overheard the conversation and made fun of the situation, which was offensive to the suspect,” Bezotte told The Livingston County Daily Press & Argus.

A third student who noticed the girls fighting took out his cell phone and recorded the incident before later posting the footage online. Police however didn’t seek charges against that student.

MORE NEWS: Flat Rock Man Charged In Fatal Shooting Of 17-Year-Old In Huron Township

TM and © Copyright 2013 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2013 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.