South Greensburg police Chief Scott Fanchalsky says officers searched for 30-year-old Daniel Block for hours Wednesday afternoon before two employees smelled smoke coming from above the ceiling on the fourth floor.
Officers crawled in after Block and he surrendered peacefully.
A local television station reports that Block had been putting gas into a stolen car when an employee at the gas station called police. Fanchalsky says officers tried to take him into custody but he escaped and ran into the office building, prompting a lockdown.
It was not clear if Block had an attorney.