This was a near-miss.

A man in Wisconsin was nearly struck by a falling tree outside his family's home last week as a storm moved through the area.

The incident happened Thursday in the city of Janesville, about 75 miles west of Milwaukee.

ARIZONA LAKE 'ELECTROCUTION INCIDENT' KILLS 2 BROTHERS, GIRLFRIEND LEFT WITH 'BURN MARKS' ON FEET, LEGS

A home surveillance camera from Lori Sheetz Blank shows the moment her son, Timothy Sheetz, stepped off the front porch into the heavy wind and rain.

Timothy Sheetz runs away as a large tree falls across his path on July 9.

Timothy Sheetz runs away as a large tree falls across his path on July 9. (Lori Sheetz Blank via Storyful)

In the video posted to Facebook, Timothy Sheetz can be seen turning around and darting back under cover as a large tree falls across his path in the front yard.

CLICK HERE FOR MORE WEATHER COVERAGE FROM FOX NEWS

Blank wrote on Facebook that her son was also lucky as he could have been electrocuted by power lines "right above his head" that were downed as the tree fell.

CLICK HERE FOR THE FOX NEWS APP

“Thank you God for keeping him safe and giving us one more story to share,” she wrote.

The National Weather Service (NWS) office in Nashville said the incident showed why forecasters "always recommend you stay inside during severe thunderstorms."