SYKESVILLE (WJZ) — A video posted to social media shows a Maryland deputy shoot a groundhog as it was trying to cross a road.

The Carroll County Sheriff’s Office deputy was on Old Liberty Rd., near White Rock Rd., when he saw traffic backed up.

READ MORE: Maryland Weather: Warm Temperatures May Help Create A Severe Storm

A groundhog was walking into the roadway, “causing vehicles to stop and creating a hazard.”

The deputy got out of his vehicle to get the groundhog away from the roadway, but the deputy reported that the groundhog was not acting normally.

“Believing the groundhog to be either sick or injured,” the deputy shot the groundhog, and “put the animal down for the public’s safety.”

READ MORE: Early Voting Wins Preakness Stakes Amid Record Temperatures

The woman who posted the video to Facebook says she was shocked, and “did not think that it would take this turn.”

Though she also said she was “sure the officer did the best thing in this situation.”

The sheriff’s office released the following statement:

The deputy was travelling on Rt 26 in the area of White Rock Road when he observed traffic backing up along the road. He found that the groundhog in question was walking into the roadway, causing vehicles to stop and creating a hazard. He got out of his vehicle to assess, and as he tried to direct the groundhog off of the roadway, he realized that it was not responding as expected for an animal that was not being cornered or trapped. Believing the groundhog to be either sick or injured, the deputy then put the animal down for the public’s safety.

MORE NEWS: Ravens' Football Clinic Helps Children Improve Sports Skills

Follow @WJZ on Twitter and like WJZ-TV | CBS Baltimore on Facebook