WASHINGTON — Congressional lawmakers are demanding answers on how Air Force officials could have mishandled legal information that may have prevented a former airman from killing 26 people in a church shooting on Sunday.

“It is unbelievably devastating to hear that multiple data entry errors by the Air Force allowed someone who should have been prohibited from purchasing a firearm to buy one, and use it to kill at least 26 people,” said Rep. Adam Smith, D-Wash., ranking member of the House Armed Services Committee.

“This tragedy should not have happened, and these processes need to be fixed.”