The dog was lying on the ground, twitching and barking.