The Houston Police Department was responding on Sunday afternoon to reports of a shooting at a Christian megachurch in Houston that is led by the televangelist Joel Osteen, it said on social media.

The details were unclear, but Sheriff Ed Gonzalez of Harris County said on social media that a shooter was believed to have been shot by law enforcement. “We continue to assist in a methodical/thorough search of the complex,” he said.

It was unclear whether anyone else had been injured.

Just before 3 p.m., the church described the episode as “an active situation involving shots fired.”

One eyewitness told the television station KHOU that she was inside the church when she heard several shots fired and saw a man who appeared to be in his 20s or 30s holding a pistol. She said she ran into a smaller room where she sheltered with about 10 other people, including a child.

“We were thankful,” the woman told KHOU. “It could have been worse.”

This is a developing story.

Orlando Mayorquin contributed reporting.