A Montgomery Blair High School student allegedly punched a school resource officer Thursday morning, prompting the officer to use a Taser that left a dart in the student’s skin and sent her to the hospital, police said.

The girl, a 16-year-old freshman, was sitting on the ground outside the Silver Spring school when a school resource officer told the student to go back into class around 11:30 a.m., said Captain Paul Starks of the Montgomery County police department. Starks said the student punched the officer, and the officer then tased the student.

Neither the officer nor the student had injuries that required treatment by emergency responders, but a Taser dart was left in the student’s skin, which neither police nor rescue officials are authorized to remove, Starks said. The student was taken to the hospital.

The girl was taken into custody but no charges have been filed, police said. Authorities did not name the officer.