DES MOINES, Iowa (AP) — For the Republican candidates for president, it was a glimpse of what could have been.
Front-runner Donald Trump's boycott of the final debate before the Iowa caucuses created space for his rivals to delve more deeply into their differences on immigration, foreign policy and their approach to governing.
And for some candidates — former Florida Gov. Jeb Bush in particular — Trump's absence from the debate stage Thursday night appeared to ease some of the tension created by his sharply personal attacks.
A frequent target of Trump, Bush opened the debate by saying wryly, "I kind of miss Donald Trump; he was a teddy bear to me."
Iowa voters kick off the 2016 nominating process with Monday's caucuses, and they'll provide the first indication of whether Trump's abrupt decision to skip the debate will have any impact on his standing atop the GOP field. His lead in Iowa had already become more tenuous in recent days, as Texas Sen. Ted Cruz pulled in support from conservative and evangelical voters.
Trump's decision to pull out of the debate over a feud with host Fox News was a gamble, particularly so close to the state of voting. But having defied political convention throughout his campaign, it was a risk the real estate mogul was willing to take.
He still looked to steal attention away from his rivals with a competing rally elsewhere in Des Moines, an event he said raised $6 million for military veterans.
"When you're treated badly, you have to stick up for your rights," Trump said in explaining his boycott. Broadening his point, he said, "We have to stick up for ourselves as people and we have to stick up for our country if we're being mistreated."
Trump's absence put the spotlight on Cruz, and Florida Sen. Marco Rubio, as well, who needs a strong showing in Iowa in order to stay in the top tier of candidates.
The two senators were confronted with video clips suggesting they had changed their positions on immigration, one of the most contentious issues among Republicans. While each insisted the other had flip-flopped, both denied they had switched their own views on allowing some people in the U.S. illegally to stay.
Cruz accused Rubio of making a "politically advantageous" decision to support a 2013 Senate bill that included a pathway to citizenship, while the Florida senator said his Texas rival was "willing to say or do anything to get votes."
"This is the lie that Ted's campaign is built on," Rubio said. "That he's the most conservative guy."
In a rare standout debate moment for Bush, the former Florida governor sharply sided with Cruz in accusing Rubio of having "cut and run" on the Senate immigration bill.
"He cut and run because it wasn't popular with conservatives," said Bush, who was more consistent in this debate than in previous outings.
Cruz was put on the spot over his opposition to ethanol subsidies that support Iowa's powerful corn industry — a position that has long been considered politically untenable for presidential candidates in the state. The Texas senator cast his position as an effort to keep the government from picking economic winners and losers.
With their White House hopes on the line, the candidates worked hard to present themselves as best prepared to be commander in chief and take on terror threats.
Rubio struck an aggressive posture, pledging that as president he would go after terrorists "wherever they are. And if we capture them alive, they are going to Guantanamo." Rubio also stood by his previous calls for shutting down mosques in the U.S. if there were indications the Muslim religious centers were being used to radicalize terrorists.
Kentucky Sen. Rand Paul — back on the main debate stage after being downgraded to an undercard event because of low poll numbers earlier this month — warned against closing down mosques. A proponent of a more isolationist foreign policy, Paul also raised concerns about the U.S. getting involved militarily in Syria, where the Islamic State group has a stronghold.
The candidates focused some of their most pointed attacks on Democratic front-runner Hillary Clinton.
"She is not qualified to be president of the United States," New Jersey Gov. Chris Christie said.
Christie is part of a crowded field of more mainstream candidates who have struggled to break through in an election year where Trump, and increasingly Cruz, have tapped into voter anger with the political system. Party leaders have grown increasingly anxious for some of the more traditional candidates to step aside to allow one to rise up and challenge for the nomination.
Asked whether the crowded establishment lane was putting Trump in position to win, Bush said: "We're just starting out. The first vote hasn't been counted. Why don't we let the process work?"
Bush also defended the flurry of critical advertisements his well-funded super PAC has launched against Rubio and other rivals.
"It's called politics," Bush said. "That's the way it is. I'm running hard."
Bush and Christie, along with Ohio Gov. John Kasich, are looking beyond Iowa and hoping New Hampshire's Feb. 9 primary jumpstarts their campaigns. In an election where a lengthy political resume has been a liability, Kasich defended government's ability to tackle big problems.
"We serve you," Kasich said of government officials and voters. "You don't serve us. We listen to you and then we act."
Cruz proudly claimed he was "not the candidate of career politicians in Washington." Retired neurosurgeon Ben Carson, who has a small but loyal base in Iowa, said that even though he hasn't been in government, he's made plenty of life-and-death decisions as a doctor.
"I don't think you need to be a politician to tell the truth," he said.
Associated Press writer Kathleen Ronayne contributed to this report.
Follow Julie Pace and Jill Colvin on Twitter at: http://twitter.com/jpaceDC and http://twitter.com/colvinj