U.S. officials say the gunman behind the mass shooting at a Sutherland Springs church is 26-year-old Devin Patrick Kelley.

Kelley was thrown out of the US Air Force.

Texas shooter Devin Kelley was thrown out of Air Force, posted photo of gun on Facebook https://t.co/BVhG1b0UNM pic.twitter.com/DYtnIcDOTl — Luke Appleby 🇳🇿 (@lukeappleby) November 5, 2017

TRENDING: Crowd Begins Chanting "Fill The Seat" at Trump Rally in North Carolina - President Trump Announces He Will Name Nominee this Week - A WOMAN

Devin Kelley was court martialed in 2014 after a dishonorable discharge.

Here is the case number:

No. 14-0387/AF. U.S. v. Devin P. KELLEY. CCA 38267.

According to McMilitary Law: States have laws for gun control for court martial cases.

Will I be able to own firearms?

Federal and state laws do place restrictions on the purchase of firearms by those convicted of felonies. 18 USC § 922(b). Many jurisdictions distinguish between violent and non-violent offenses.

It was against the law for Devin to own firearms.

Josh Caplan adds this on dishonorable discharge and firearms.