A scary scaffolding machine malfunction story got a happy ending yesterday when firefighters rescued two Con Ed workers in Queens.

The laborers were working on an old New York Power Authority building on 20th Avenue in Astoria when their scaffolding unit stalled. They were trapped on the building's 13th story, about 100 feet in the air. Luckily, firefighters were able to pull them to safety on the roof. ABC Eyewitness News captured video of the daring rescue:

One of the firefighters, John Freidrich, was actually lowered down from the roof to harness the men to rope tethers, all. He was pulled to safety separately, and officials say no one was injured.