The dog had escaped from a nearby address and attacked the man.