The man was allegedly armed and resisted arrest.