Surveillance video shows the moment a man walking his dogs gets struck by lightning — seconds before a group of good Samaritans saved his life.

The shocking footage, obtained by ABC affiliate KTRK, shows a white flash striking the man near his feet and knocking him face-first to the ground, as his three dogs scurry away.

The TV station identified the man as Alex Coreas, and reported that he had been walking near the Stuebner Airline Veterinary Hospital in Spring, Texas, on Thursday, when he was hit.

Two clinic workers and a third person rushed over to help, and when they reached Coreas, he wasn’t breathing and his clothes were charred.

“His shoes and his socks got blown off his feet,” staffer Christy Mittler told the station.

The group administered CPR until they began to feel a pulse.

Coreas is now recovering at a local hospital. Police deputies found his dogs in a nearby wooded area.

The lightning bolt left a gaping hole in the concrete where Coreas was hit.