U.S. President Donald Trump says the mass shooting at a Texas church “isn’t a guns situation,” but is a “mental health problem at the highest level.”
Devin Kelley, the man authorities have identified as the gunman, was discharged from the Air Force several years ago for allegedly assaulting his spouse and a child, according to an Air Force spokeswoman.
READ MORE: 26 confirmed dead after gunman opens fire in Texas church
While no officials have publicly questioned Kelley’s mental health, Trump said that “is your problem here.” He offered no details.
“This was a very, based on preliminary reports, a very deranged individual. A lot of problems over a long period of time,” Trump said when asked about the shooting as he and Japanese Prime Minister Shinzo Abe held a joint news conference in Tokyo during Trump’s first official visit to Asia.
“We have a lot of mental health problems in our country, as do other countries. But this isn’t a guns situation,” the president said.
WATCH: 26 dead after gunman bursts into Texas church
The attack happened Sunday morning when a man dressed in black tactical-style gear and armed with an assault rifle opened fire inside a Baptist church in a small South Texas community, killing 26 people and wounding at least 16 others in what the governor said is the deadliest mass shooting in state history.
Trump first tweeted that he was monitoring the situation from Japan. He later described the shooting as an “act of evil” during remarks to a gathering of American and Japanese business executives. Abe also offered condolences.
Air Force spokeswoman Ann Stefanek said Sunday that Devin Kelley served 12 months’ confinement after a 2012 court-martial. He ultimately received a bad conduct discharge and reduction in rank.
Stefanek said Kelley served in Logistics Readiness at Holloman Air Force Base in New Mexico from 2010 until his discharge in 2014. He was responsible for moving passengers, cargo and personal property in military transportation.
As Kelley left the scene, authorities said he was confronted by an armed resident who engaged the suspect, who later was found dead in his vehicle.
WATCH: Trump offers “full support” to investigation in Sutherland Springs, Texas church mass shooting
Trump said “fortunately somebody else had a gun that was shooting in the opposite direction otherwise it (wouldn’t) have been as bad as it was. It would have been much worse.”
“But this is a mental health problem at the highest level. It’s a very, very sad event.”
The shooting comes just over a month after a gunman opened fire on an outdoor music festival on the Las Vegas Strip from the 32nd floor of a hotel-casino, killing 58 people and wounding more than 500. Trump visited Las Vegas soon after to meet with families of victims and first responders.
In the days after the Las Vegas shooting, Trump and his aides declined to discuss possible changes to gun laws, saying it was too soon after the tragedy to discuss policy. Trump on Monday ignored shouted questions about whether the U.S. needs to consider tightening gun laws.