Wedding guests “gang-tackled" a man who opened fire and injured two people Saturday morning at a wedding ceremony at a church in Pelham, New Hampshire, according to local police.

A gunman is in custody after two people were shot and taken to nearby hospitals, said Pelham police chief Joseph Roark at a media briefing Saturday afternoon.

The shooting occurred at New England Pentecostal church in Pelham, a city of 13,000 in southeast New Hampshire near the Massachusetts border.

“From my understanding, they basically gang-tackled them," Roark said.

Dale Holloway, 37, was charged Saturday with purposely and knowingly causing bodily injury by means of a deadly weapon, according to the state’s attorney general office.

Authorities say he shot 75-year-old Stanley Choate in the chest. A second person, Claire McMullen, 60, was shot in the arm. A third person, Mark Castiglione, 60, was struck in the head by the object.

Choate, the presiding bishop at the wedding, is in serious condition at Tufts Medical Center in Boston while McMullen is in good condition at a local hospital. Castiglione was treated at a local hospital and released.

Pelham police received a call about an active shooter at 10:12 a.m., and officers responded within three minutes, Roark said.

Roark said the suspect, armed with a handgun, arrived after the wedding had begun. Police estimated that about 40 people were in attendance.

“This does not seem to be a random event,” Roark said.

Police did not release any information about the wedding parties or their relationship to the gunman.

Roark said he did not know if any of the guests were armed, but that police had provided active shooter training to the church within the past year.

Holloway is expected to be arraigned Tuesday in Hillsborough County Superior Court.

Many people took to social media to call for prayers for Choate's speedy recovery.

Choate presides over New England Pentecostal Ministries and serves as Chair Person of the New England Coalition for Racial Harmony, according to the church’s website. He is also an accomplished playwright composer and poet, the website says.

A large police presence, including fire trucks, ambulances, and state and local police, gathered outside the church Saturday.

"State officials are on scene assisting local first responders in the response and investigation of a shooting in Pelham, NH," Gov. Chris Sununu said in a tweet. "While this remains a very active scene, the State of New Hampshire will provide all necessary resources to support the community and our local partners."

It was initially unclear what event was taking place at the church at the time of the shooting. According to the church's website, a "men and women meeting" tied to Domestic Abuse Month was scheduled for 9:30 a.m. Saturday morning.

Others initially thought the shooting might be tied to a funeral service. One man told WBZ-TV that he was at the church to attend a noon celebration of life service for a late minister.

Earlier this month, Luis Garcia, an ordained minister at New England Pentecostal Ministries, died after being shot in the neck, according to WBUR-TV. A 24-year-old man has been charged with second-degree murder in connection with the death.

"I’m deeply disturbed to hear about the shooting in Pelham this morning. Today was supposed to serve as a celebration of the life of Minister Luis Garcia. This senseless violence can’t continue — my prayers are with the victims of this terrible attack," New Hampshire Sen. Maggie Hassan said in a tweet.

New England Pentecostal Ministries could not be reached for comment.

Pelham is located just north of Lowell and is about 40 miles south of Concord, New Hampshire. According to 2010 census data, Pelham had a population of nearly 13,000.

Contributing: The Associated Press