U.S. Air Force Secretary Heather Wilson promised to review why the USAF did not report Devin Kelley’s domestic violence conviction to the FBI.

WATCH:

Kelley was able to purchase four firearms in the past four years before he committed a mass shooting at a church in Sutherland Springs, Texas, killing 26 people and injuring 20. Kelley should have been prevented from purchasing firearms because he had a previous domestic violence conviction.

However, the USAF indicated that it failed to report Kelley’s conviction, so it did not show up in a federal background check.

Wilson said in an interview with CNBC on Tuesday that the Air Force is taking responsibility for the error and is reviewing how the mistake occurred.

“We have initiated a review in the Air Force to figure out why his fingerprint records were not transferred to the database,” she said. “We are checking all of the Air Force databases, and there are several of them, to find out and confirm that all court martial convictions for these kinds of offenses have been reported in the civilian database.”

“We’ve taken responsibility and we’re going to find out what happened and fixed it,” she said assuredly.

Follow Amber on Twitter