LAS VEGAS -- In a presidential race reshaped by national security worries, Sens. Ted Cruz and Marco Rubio clashed over U.S. military intervention, government spying on Americans' communications and immigration Tuesday night, as front-runner Donald Trump defended his provocative call for banning Muslims from the United States.
Struggling former Florida Gov. Jeb Bush found his footing in trying to discredit Trump's qualifications for the White House, chiding the brash billionaire for trying to "insult your way to the presidency."
Tuesday night's debate was the first for Republicans since the attacks in Paris and San Bernardino, California, which heightened fears of terrorism in the United States. The attacks have ignited a political debate about President Barack Obama's campaign to defeat the Islamic State in the Middle East and the nation's security posture in preventing attacks in the U.S.
Trump's call for temporarily banning Muslims from the U.S. - a proposal roundly criticized by his rivals - dominated much of the discussion heading into the debate. He said he wasn't seeking to discriminate against Muslims.
"We are not talking about isolation; we're talking about security," he said. "We are not talking about religion, we are talking about security."
Bush dismissed the proposal as unserious, saying "Donald is great at the one-liners, but he's a chaos candidate and he'd be a chaos president."
In contrast, Cruz and Rubio said they understood why Trump had raised the idea of banning Muslims and avoided directly criticizing the front-runner. Instead, they focused on each other, engaging in lengthy debates over their differences on national security and immigration, one of the most contentious issues in the Republican primary.
Rubio defended his support for eventually providing a pathway to citizenship for some people in the U.S. illegally, an unpopular position within the Republican Party. Rubio was a co-author of comprehensive Senate legislation in 2013 that would have created that pathway, but he has since said the nation's immigration crisis must be addressed in piecemeal fashion, with legalization only an option after the U.S.-Mexico border is secured.
Cruz went further than he has previously in opposing legalization for people in the U.S. illegally, declaring, "I have never supported legalization and I do not intend to support legalization."
The two senators - both Cuban-Americans in their 40s - have been sparring from afar for weeks. The Texas senator is on the rise, particularly in Iowa's kickoff caucuses, and is casting himself as a more electable alternative to Trump, while Rubio is seeking to straddle the divide between his party's establishment and more conservative wings.
Rubio positioned himself as the hawk on national security, defending American efforts to oust dictators like Syria's Bashar Assad from the Middle East. He also accused Cruz of weakening the government's ability to track terrorists because he voted in favor of legislation to eliminate the National Security Agency's bulk phone-records collection program and replace it with a more restrictive effort to keep the records in phone companies' hands.
"We are now at a time when we need more tools, not less tools," Rubio said. "And that tool we lost, the metadata program, was a valuable tool that we no longer have at our disposal."
Cruz argued that his vote helped "reform how we target bad guys" by allowing the government to search more phone numbers.
"Marco knows what he's saying isn't true," he said. "What he knows is that the old program covered 20 percent to 30 percent of phone numbers to search for terrorists. The new program covers nearly 100 percent."
Beginning after the Sept. 11, 2001, terror attacks, the NSA secretly collected the daily calling records - but not contents of conversations - for most Americans, including people never suspected of any crime.
A new law, called the USA Freedom Act, passed in June with broad, bipartisan support. It ordered the NSA to end bulk collection after a six-month transition that expired last week.
The senators also displayed differences in their strategies for targeting the Islamic State. The extremist group claimed responsibility for the Nov. 13 attacks in Paris, and one of the shooters in California pledged allegiance to the group on Facebook shortly before she and her husband shot and killed 14 people at a holiday party.
Cruz called for using "overwhelming air power" to destroy the Islamic State, while Rubio said airstrikes would have to be supplemented by ground troops, including American special operations forces.
President Obama has largely relied on airstrikes to target the militants in Iraq and Syria. However, he's also sent troops to Iraq to help train and assist local forces and recently approved sending special operations forces into Syria.
New Jersey Sen. Chris Christie, who has been on the rise in New Hampshire, sought to assert himself in the national security discussions. He called for a no-fly zone over Syria and vowed to shoot down a Russian plane if it were to violate that space.
"Not only would I be prepared to do it, I would do it," he said. "We would shoot down the planes of Russian pilots if, in fact, they were stupid enough to think that this president was the same feckless weakling that the president we have in the Oval Office is right now."
The debate's focus on national security was a detriment for retired neurosurgeon Ben Carson, who has struggled on complex international matters. He punted on questions about surveillance and his own qualifications for being commander in chief.
Also on the main stage Tuesday night was former business executive Carly Fiorina; Ohio Gov. John Kasich and Kentucky Sen. Rand Paul. Four lower-polling candidates appeared at an earlier event: former Arkansas Gov. Mike Huckabee, former Pennsylvania Sen. Rick Santorum, former New York Gov. George Pataki and South Carolina Sen. Lindsey Graham.