Security cameras captured the alarming moment of semi truck jackknifing down a hill and coming uncomfortably close to striking a building in Pennsylvania.

The video was captured amid winter weather conditions on Friday, January 19, in Shenandoah, Pennsylvania.

The Shenandoah Sentinel reports that a truck driver from a company out of Philadelphia was operating a Freightliner hauling an empty trailer on Route 924 when the driver lost control on the hill and jackknifed.

The truck reportedly hit a pedestrian sign, a street light, and a flag pole, before coming to a stop at the Shenandoah Community Ambulance building on North Main Street.