John Locher/AP Images

The top nine Republican presidential candidates hit the stage Dec. 15 for the fifth time this year in a debate hosted by CNN in Las Vegas. As the first meeting since the terrorist attacks in Paris and San Bernardino, Calif., moderators Wolf Blitzer, Dana Bash and Hugh Hewitt focused on terrorism, security, foreign policy and immigration in the two-hour debate.

According to data collected by the InsideGov team, 60 percent of the debate was dominated by conversations about ISIS, terrorism and foreign policy. As the visualization below indicates, overall, this was one of the more substantive showings for the GOP candidates this year. Although a few non-policy-related spats broke out between businessman Donald Trump and former Florida Gov. Jeb Bush, the moderators and presidential hopefuls largely stuck to the issues.

Tuesday night’s debate was also the first since a significant shakeup in the polls that put Texas Sen. Ted Cruz in first place in Iowa and in second place overall behind Trump. Cruz’s new No. 2 position was immediately apparent — according to InsideGov’s tallies, Cruz dominated the first segment of the debate and spoke the most throughout the evening.

Trump talked for a total of 16 minutes and 12 seconds, but moderators used Trump’s recent suggestion to bar Muslims from entering the country as a springboard to discuss terrorism and how candidates would protect America from future attacks. Florida Sen. Marco Rubio spoke for the third-longest amount of time, for about 14 minutes.

Some of the feistier moments of the debate played out between Cruz and Rubio, both first-term senators who have been been neck-and-neck in the polls at third and fourth place, respectively, since the end of October. But both campaigns — aided by retired neurosurgeon Ben Carson’s sudden drop — have been climbing in the polls. The senators used the debate to highlight their differences, specifically on immigration and foreign policy.

Rubio, part of the bipartisan Gang of Eight that crafted immigration legislation in 2013, has been supportive of a possible path to citizenship for people who came to the U.S. illegally. Polls show that just about half of Republicans want to deport undocumented immigrants, putting Rubio’s position at odds with voters and many in his party.

One of the questions about immigration during the debate allowed Cruz to highlight this disconnect. He tied Rubio to well-known Democrats who supported the immigration bill, like President Barack Obama and New York Sen. Chuck Schumer, saying Rubio supported “a massive amnesty plan.” Soon after the debate wrapped, a handful of news outlets pointed to this series of exchanges between Rubio and Cruz as a possible tipping point in the Republican primary fight, when candidates openly got into the nitty-gritty of what to do about people who are already in the U.S. illegally.

The pointed back-and-forth between Cruz and Rubio also manifested itself in how people researched candidates throughout the debate.

We looked at Google Trends to see how often each candidate’s name was searched Tuesday evening. As the visualization shows, while Trump was searched fairly consistently, interest in Cruz and Rubio peaked a number of times. And, as has been reflected in the polls, interest in Carson and Bush was lower overall throughout the evening.

The Republican presidential candidates will meet again on Jan. 14, 2016, for their next debate, hosted by Fox Business in South Carolina. The Democrats will have their final debate of the year on Saturday, Dec. 19, in New Hampshire.