A pastor who was visiting his former congregation at the Laguna Woods, California, Taiwanese Presbyterian Church helped subdue a shooter Sunday by hitting him with a chair, according to a witness. 

"I heard the gun sounds," Geneva Presbyterian Church congregant Jerry Chen, 72, said according to the Los Angeles Times. "Then I heard two or three more gunshots. He was just randomly shooting."

The shooting unfolded in the Orange County city before 1:30 p.m. Sunday after churchgoers enjoyed lunch and were taking photos with former pastor Billy Chang who was visiting the U.S. after moving to Taiwan two years ago. 

"Everyone had just finished lunch," Chen said. "They were taking photos with Pastor Chang. I had just finished my lunch and went into the kitchen."

CALIFORNIA SHOOTING AT CHURCH IN LAGUNA WOODS LEAVES ONE DEAD; CONGREGANTS HOG-TIED GUNMAN

Church shooting California

An Orange County Sheriff's Department K-9 unit checks the grounds at Geneva Presbyterian Church in Laguna Woods, Calif., Sunday, May 15, 2022, after a fatal shooting. (AP Photo/Damian Dovarganes) (Associated Press )

The gunman opened fire on the roughly 40 people gathered, injuring five and killing one. Chen told the LA Times that the congregation is composed of mostly elderly, retired Taiwanese immigrants, with an average age of 80. 

As the gunman stopped to reload his weapon, Chang was seen hitting him with a chair, Chen recounted. Other parishioners then jumped into action and tackled the gunman before hogtying him with an extension cord. 

HOUSTON FLEA MARKET SHOOTING LEAVES TWO PEOPLE DEAD, AT LEAST THREE OTHERS INJURED

"It was amazing how brave (Chang) and the others were," Chen said. "This is just so sad. I never, ever thought something like this would happen in my church, in my community."

Chang was the pastor of the congregation for 20 years and was visiting the church for the first time since moving to Taiwan two years ago. 

"That group of churchgoers displayed what we believe is exceptional heroism and bravery," Undersheriff Jeff Hallock said, according to the LA Times. 

Church shooting California

Laguna Woods Mayor Carol Moore, front left at podium, and Orange County Board of Supervisor, Lisa Barlett, right, surrounded by law enforcement officers, hold a press conference outside the grounds og Geneva Presbyterian Church in Laguna Woods, Calif., Sunday, May 15, 2022, after a fatal shooting. (AP Photo/Damian Dovarganes) (Associated Press )

"It’s safe to say that had they not intervened this situation could have been much worse," he added. 

Before services began Sunday, the parishioners greeted the gunman and welcomed him to their church. The gunman allegedly told members of the congregation that he had visited the church before, but no one recognized him, Chen recounted. 

Information on the shooting is still forthcoming, but police revealed an Asian man in his 60s was taken into custody. Law enforcement sources told the LA Times that the 68-year-old man is a Las Vegas native with no clear connection to the church. 

Those wounded by gunshots included four Asian men, ages 66, 75, 82 and 92, and an 86-year-old Asian woman, the sheriff’s department said.

Gov. Gavin Newsom’s office said they are monitoring the situation closely on Sunday and denounced the tragedy. 

"No one should have to fear going to their place of worship. Our thoughts are with the victims, community, and all those impacted by this tragic event," the office tweeted.

CLICK HERE TO GET THE FOX NEWS APP

The Associated Press contributed to this article.