Texas Sen. Ted Cruz Rafael (Ted) Edward CruzCruz blocks amended resolution honoring Ginsburg over language about her dying wish Trump argues full Supreme Court needed to settle potential election disputes Press: Notorious RBG vs Notorious GOP MORE (R) and Rep. 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 (D) lashed out at each other over immigration, school safety and police shootings on Friday night as they appeared for the first debate of their hotly contested Senate race.

Fireworks quickly erupted between the pair in the Dallas debate hall, with O'Rourke hitting Cruz over immigration while the GOP senator knocked his Democratic challenger over his comments about police.

Here are five takeaways from Friday night’s debate:

O’Rourke goes toe-to-toe with seasoned debater

From start to finish, the hourlong debate between Cruz and O’Rourke was fiery and contentious.

ADVERTISEMENT

Cruz, a seasoned debater going back to his days at Princeton University, leaned on his experience during the competitive 2016 GOP presidential primary, when he appeared in more than a dozen high-profile debates.

But even as Cruz aggressively went after O’Rourke in the debate Friday, the Democratic congressman punched back, interrupting the incumbent several times when he claimed the senator was mischaracterizing his positions.

“That’s why people don’t like Washington, D.C.,” O’Rourke remarked at one point. “This is your trick and trade, to confuse and incite with fear.”

The audience was also rowdy throughout the debate, loudly cheering both candidates. The debate moderators had to repeatedly interject and remind the audience to refrain from clapping.

Even when the candidates were asked at the end to say what they admire about one another — which they did — Cruz got in a subtle jab at O'Rourke, comparing him to Sen. Bernie Sanders Bernie SandersOutrage erupts over Breonna Taylor grand jury ruling Dimon: Wealth tax 'almost impossible to do' Grand jury charges no officers in Breonna Taylor death MORE’s (I-Vt.) democratic socialist views.

O’Rourke simply responded, “True to form.”

Immigration will be a major flashpoint

Immigration was the first question of the night and immediately showed the divisions between the two candidates.

O’Rourke called for an “earned” path to citizenship for immigrations known as "Dreamers," who came to the country illegally as children, accusing Cruz of being focused on deporting them.

“Sen. Cruz has promised to deport each and every single Dreamer,” O’Rourke said.

But Cruz laid out his immigration position in four words: “Legal: good. Illegal: bad.”

The GOP senator called for President Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE’s signature campaign promise of a border wall. He also accused O’Rourke of taking the side of immigrants in the country illegally.

“It’s striking that Congressman O’Rourke, over and over and over again, his focus seems to be on fighting for illegal immigrants,” Cruz said. “Americans are dreamers too."

Cruz bets on Clinton as effective boogeyman

Hillary Clinton Hillary Diane Rodham ClintonDemocratic groups using Bloomberg money to launch M in Spanish language ads in Florida The Hill's Campaign Report: Presidential polls tighten weeks out from Election Day More than 50 Latino faith leaders endorse Biden MORE won’t be on the ballot this November, but Cruz repeatedly invoked the former Democratic presidential candidate as a way to paint O’Rourke as a liberal.

Cruz has frequently called out O’Rourke for being too liberal for Texas and has accused him of trying to appeal to “liberal Hollywood.”

When asked about Supreme Court nominee Brett Kavanaugh and the allegations of sexual assault against him, Cruz said he wanted both Kavanaugh and the accuser to testify. But he quickly pivoted to O’Rourke opposing the nominee because he sides with Clinton.

“O’Rourke agrees with Hillary Clinton, he wants liberal judicial activists on the court,” Cruz stated.

O’Rourke responded that he doesn’t believe Kavanaugh is fit to serve because of his “troubling history” regarding voting rights protections. He also called for a full FBI investigation into the sexual assault allegations.

And during an exchange about the Second Amendment, Cruz pushed O’Rourke on whether he voted for Clinton in 2016. O’Rourke rebuffed his question, saying it was irrelevant.

Trump factors into race — on both sides

Cruz was asked to square his bitter relationship with Trump from the 2016 campaign to his more glowing recent comments about the president.

The Texas senator, who is set to campaign alongside Trump next month, said there were some “hard shots thrown” in the GOP primary but he said that he made a deliberate choice to work with the president.

“I could have chosen to make it about myself, to say my feelings are hurt and take my marbles and go home,” Cruz said. "I think that would have been not doing the job I was elected to do."

O’Rourke then denounced Cruz for not standing up to Trump on foreign election interference, saying that Texas “needs a U.S. senator who will stand up to this president where we must.”

Cruz quickly went after O’Rourke’s past comment that he would vote to impeach Trump because of his performance at the Helsinki summit with Russian President Vladimir Putin in July.

O’Rourke noted a few times that he’s willing to work with the president when there’s common ground, at one point saying that he didn’t care about party.

"We are not running against anyone ... anything ... or against a political party,” O’Rourke said. “We are running for this country. By and for each and every single one of us. Whatever the challenge is, I know we are up to the task."