President Trump Donald John TrumpFederal prosecutor speaks out, says Barr 'has brought shame' on Justice Dept. Former Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick MORE on Thursday ripped Democratic presidential candidate Beto O'Rourke Beto O'RourkeJimmy Carter says his son smoked pot with Willie Nelson on White House roof O'Rourke endorses Kennedy for Senate: 'A champion for the values we're most proud of' 2020 Democrats do convention Zoom call MORE over guns and religious liberty during a campaign rally in his home state of Texas.

Trump hammered the former congressman over his recent proposals to confiscate certain types of firearms and suggestion that churches lose their tax-exempt status if they oppose gay marriage.

"Last week a very dumb Democrat candidate for president pledged to revoke the tax-exempt status of many churches and religious charities," Trump said during a rally at American Airlines Arena in Dallas.

ADVERTISEMENT

"That was after, a few weeks ago, he said, 'Excuse me we’re going to take your guns away,'" Trump continued before mocking O'Rourke's arm gestures. "And I called him right. Remember the flailing arms? Nobody noticed it. I noticed it. The flailer."

"Beto, in a few short weeks, got rid of guns then got rid of religion," Trump added. "Those are not two good things in Texas to get rid of."

The president suggested that O'Rourke's chances of running a successful Senate campaign against Sen. John Cornyn John CornynHillicon Valley: Productivity, fatigue, cybersecurity emerge as top concerns amid pandemic | Facebook critics launch alternative oversight board | Google to temporarily bar election ads after polls close Lawmakers introduce legislation to boost cybersecurity of local governments, small businesses On The Trail: Making sense of this week's polling tsunami MORE (R-Texas) would be doomed by his performance on the presidential campaign trail.

O'Rourke, who ran an unsuccessful Senate campaign last year against Sen. Ted Cruz Rafael (Ted) Edward CruzCrenshaw looms large as Democrats look to flip Texas House seat SCOTUS confirmation in the last month of a close election? Ugly The Hill's Morning Report - Sponsored by Facebook - Trump previews SCOTUS nominee as 'totally brilliant' MORE (R-Texas), has said he does not plan to run against Cornyn even if he drops out of the presidential race.

"He's at 0 [percent] right now," Trump said, mocking O'Rourke's standing in the crowded Democratic primary race.

"No religion and no guns. I think that's no good," Trump continued. "I think he's pretty light on oil production, too."

Trump added: "Nobody's going to be able to beat John Cornyn."

O'Rourke, who served three terms as a congressman representing his native El Paso, has made gun control a central part of his campaign following a mass shooting in El Paso over the summer.

He has proposed a mandatory buyback program of assault weapons, though some Democrats have warned that the proposal could turn off voters worried about government overreach. Under O'Rourke's plan an individual who did not hand over a banned weapon would be fined.

The former Texas congressman also drew blowback from his fellow presidential candidates last week when during an LGBT forum he said he thought that religious institutions that refuse to perform same-sex marriages should lose their tax-exempt status.