Failed Democratic presidential candidate Beto O’Rourke reacted to a weekend church shooting in White Settlement, Texas by criticizing the state’s gun laws.

O’Rourke, a proponent of stringent gun control measures who has called for national confiscation of firearms, said on Sunday in a tweet that the shooting shows “Clearly what we are doing in Texas, what we are doing in this country, when it comes to guns is not working.”C

Gov Abbott’s law saved lives, ya goob. — K. Silkwood (@EnterNameHere01) December 30, 2019

The gunman opened fire during a service at the West Freeway Church of Christ in White Settlement, killing two people with a shotgun before a member of the church’s voluntary security team shot him dead, authorities said. Other members of the licensed and trained security team also exchanged fire with the gunman, and one of them died, according to Jack Cummings, a minister at the church.

MORE: Gunman Opens Fire in Live-Streamed Texas Church Service — Gets Shot Dead by Armed Deacon

Another minister, Britt Farmer, on Sunday thanked Texas Gov. Greg Abbott and law enforcement for their quick responses to the shooting and told reporters he was grateful “our government has allowed us the opportunity to protect ourselves.”

Commenters on social media, especially gun rights advocates and conservatives, pushed back against O’Rourke’s remarks, arguing that the White Settlement shooting was an example of firearms measures working as they should.

A number of new laws designed to ease restrictions on firearms for Texans went into effect in September.

One of the bills, Senate Bill 535, enabled licensed handgun owners to carry in churches and other places of worship.

Some accused Beto of “gaslighting” his followers.

Others referenced the “good guys with guns” who stopped the shooter before he could claim more lives.

You left out the part where a good guy with a gun saved the day. Because of course you did, you’re an anti-gun p*ssy,” tweeted conservative actress and pro-gun advocate Mindy Robinson.

Not just him, multiple outlets are trying to push the narrative that armed security stopped the guy. They don't want to tell the story about armed citizens stopping monsters, because that goes against their gun grabbing goals. — ??That Guy On Twittər?? (@Cptn_Jack) December 30, 2019

Christian conservator commentator Carmine Sabia contrasted Texas’ gun laws with New York’s more restrictive firearms measures.

How did the New York gun laws protect the Jewish people praying that were stabbed by a man with a machete? I noticed you mention sending love and prayers to Monsey but I did not see you call for machete laws. — Carmine Sabia (@CarmineSabia) December 29, 2019

“Texas is doing it right – an armed member of the congregation stopped it. Maybe read the whole story, Beta,” tweeted one commenter.

You see the video?

About four armed popped up. — mallen (@mallen2010) December 29, 2019

“Gov Abbott’s law saved lives, ya goob,” tweeted another.

MORE: FLASHBACK: Biden Slams Texas for ‘Totally Irrational’ Law Letting People Carry Guns in Church

“This is one of the reasons the #2A was created so that families & communities could protect themselves from threats to safety. This example of exercising #2A rights worked by eliminating the threat nearly immediately. I’d say that’s a lot more effective than a gun free zone sign,” said Greg West, a former Special Forces operator.