SPRING HILL — A Hernando County student is under arrest and the family dog dead after deputies investigated an allegation of battery on a school bus driver, the Hernando County Sheriff's Office said.

According to the Sheriff's Office, a Hernando County School District bus driver contacted it around 4:45 p.m. Thursday, saying they were battered by a student. Sheriff's Office spokesman Michael Terry said deputies responded to a home on Seybold Drive and found an "aggressive" pit bull that was placed in a garage.

"As deputies spoke to family members, deputies observed a pit bull inside the residence," Terry said in a news release. "When the pit bull began to act aggressively toward the deputies, a family member placed the pit bull in the garage so deputies could continue their investigation."

Afterward, the Sheriff's Office said, someone accidentally opened the garage door and the pit bull charged at a deputy, biting them on the right elbow. The deputy broke free and the dog tried to bite again.

"Upon the dog attempting to bite the deputy a second time, another deputy on scene fired their service weapon, killing the dog," Terry said.

The bitten deputy was treated on scene and the dog was taken to Hernando County Animal Services for rabies testing.

The student was charged with misdemeanor battery and taken to the Hernando County Detention Center.

Daniel Figueroa IV can be reached at dfigueroa@tampabay.com. Follow @danuscripts