Investigators say man was armed with gun