The photo of a Pennsylvania police officer carrying a German shepherd to safety after it was injured in a car accident is going viral online, with the officer being called a hero for his efforts.

But Officer Nick Ague says he only did what he'd want from anyone else if the situation were reversed.

"i own a German shepherd myself, and I know how devastated I would feel if I never saw my dog again or if it was struck by a car," he said.

The dog, named Mya, ran for two miles on hot pavement after the accident. When Ague found her, the pads of her feet were raw and she could no longer walk, so he carried her to safety.

Mya's grateful owners say she's recovering and doing well.