HOUSTON (AP) — The shooter at a Texas megachurch on Sunday had a history of mental illness and brought his young son to the attack that was carried out using an AR-style rifle and ended in an exchange of gunfire with two off-duty officers. . authorities said Monday.

Houston police identified the shooter as Genesse Ivonne Moreno, 36, who they say was wearing a trench coat and carrying a backpack as she entered Lakewood Church, led by Pastor Joel Osteen. Moreno used male and female aliases, but investigators who examined previous police reports found that Moreno identified as a woman, Houston Police Commander Chris Hassig said.

The attack occurred between services at the Houston megachurch, located in a former NBA arena, and sent worshipers scrambling for safety.

During the shooting, Moreno’s 7-year-old son was shot in the head and remained in critical condition Monday, authorities said. Moreno, who was killed by officers, was not a known member of Osteen’s congregation, church spokesman Don Iloff said.

Police and FBI investigators said they have not established a motive for the shooting, but were investigating a dispute involving Moreno and the family of Moreno’s ex-husband. Hassig and others said Moreno had a history of mental illness, including his emergency detention in 2016, but did not provide additional details.

Investigators found anti-Semitic writings from the shooter, Hassig said, noting that Moreno’s former in-laws are Jewish. The rifle also had a “Palestine” sticker on the stock. Hassig described Moreno as a “lone wolf” who acted alone.

Police searched Moreno’s residence in Conroe, a city more than 50 miles (80 kilometers) north of the church. Court records show Moreno had prior arrests and was involved in a divorce and child custody battle in 2022, in which Moreno’s former mother-in-law indicated she had sought counsel from Lakewood pastoral staff.

Court documents do not indicate which staff the woman contacted. Iloff said she had not found anyone familiar with the contact described in the legal documents.

Moreno appeared to have legally purchased the rifle used in the December attack, and investigators were looking into how he obtained it, authorities said. Moreno also entered the church with a .22-caliber rifle, police said.

Investigators said Moreno and the boy entered the church building shortly before the 2 p.m. Spanish service after Moreno pointed a gun at an unarmed security guard.

Moreno began shooting once inside, and the guards inside the building (off-duty Houston police officer Christopher Moreno and Texas Alcoholic Beverage Commission agent Adrian Herrera) returned fire, killing the man. shooter, investigators said. Christopher Moreno is not related to Genesse Moreno, Houston Police Chief Troy Finner said.

All of the shooting took place in a hallway of the church, and none of the violence extended to the main sanctuary, Hassig said, describing the confrontation as a “shooting battle” that lasted several minutes.

“They stood their ground in the face of point-blank rifle fire,” Texas Alcoholic Beverage Commission Chairman Kevin Lilly said of the security guards. “They were a wall that existed between the faithful and terror.”

Both officers fired their weapons, but investigators still don’t know if one of them accidentally shot Moreno’s son, Finner said. Police said a 57-year-old man who was shot in the hip has been released from the hospital.

Finner said the shooter told officers after he was shot that there was a bomb, but a search found no explosives.

Records in Harris County, where Houston is located, showed that Moreno, under the names Jeffery Escalante-Moreno or Jeffery Escalante, was charged in six criminal cases between 2005 and 2011.

The charges ranged from forging a $100 bill to stealing socks, hats and makeup, and assault for kicking a detention officer. The August 2009 assault conviction sent Moreno to prison for 180 days.

In a confusing 2022 application for a protective order against Moreno’s former mother-in-law that Moreno wrote without the help of an attorney, Moreno complained about being threatened and followed and claimed to have received text messages from FBI Director Christopher Wray.

In a separate court filing seeking to be named guardian of Moreno’s son, the former mother-in-law alleged that Moreno was mentally ill and that the boy was being neglected and abused.

Phone messages from members of Moreno’s family seeking comment were not returned Monday.

Lakewood is regularly attended by 45,000 people weekly, making it the third-largest megachurch in the U.S., according to the Hartford Institute for Religion Research.

Osteen said the violence could have been worse if the shooting had occurred during the earlier, larger Sunday morning service. Iloff said Osteen was inside the church but on the first floor during the shooting, which occurred on the second floor.

The shots terrified the faithful.

Alan Guity has been a member of the church since 1998. He said he heard gunshots while resting inside the church sanctuary while his mother worked as an usher.

“Boom, boom, boom, boom. And I screamed, ‘Mom!’” she said. Guity, 35, said she ran toward her mother and they both lay on the ground as the shooting continued.

Osteen, 60, took over Lakewood Church after Juan Osteen — his father and founding pastor of the church — passed away in 1999. The church has grown dramatically under his leadership.

Osteen is a prominent promoter of what is known as the prosperity gospel, the belief that God wants his followers to be rich and healthy. He is the author of several best-selling books, including “Your Best Life Now: 7 Steps to Living to Your Full Potential.”

Its televised services reach about 100 countries and its church stadium renovation cost nearly $100 million.

___

This story corrects the spelling of Genesse Ivonne Moreno’s middle name. The shooter’s middle name is spelled Ivonne, not Ivonna.

By Sam