PHOTO: KXAN
Now playing
01:44
Cruz: This election was a battle of ideas
senator bill nelson 11132018
senator bill nelson 11132018
PHOTO: CNN
Now playing
02:03
Nelson: Scott should recuse himself
Rep. Marsha Blackburn, R-Tenn., speaks to supporters after she was declared the winner over former Gov. Phil Bredesen in their race for the U.S. Senate Tuesday, Nov. 6, 2018, in Franklin, Tenn. (AP Photo/Mark Humphrey)
Rep. Marsha Blackburn, R-Tenn., speaks to supporters after she was declared the winner over former Gov. Phil Bredesen in their race for the U.S. Senate Tuesday, Nov. 6, 2018, in Franklin, Tenn. (AP Photo/Mark Humphrey)
PHOTO: Mark Humphrey/AP
Now playing
01:26
Meet the Republicans who held onto the Senate (2018)
Democratic congressional candidate Ilhan Omar is greeted by her husband
Democratic congressional candidate Ilhan Omar is greeted by her husband's mother after appearing at her midterm election night party in Minneapolis, Minnesota, U.S. November 6, 2018. REUTERS/Eric Miller
PHOTO: Eric Miller/Reuters
Now playing
01:33
Minorities, LGBT make history in 2018 midterms
PHOTO: WJLA
Now playing
02:01
Hear from the Democrats who took back the House
PHOTO: CNN
Now playing
01:50
Abrams vows to remain in gubernatorial race
PHOTO: Spectrum News NY1
Now playing
02:05
Ocasio-Cortez: This is a movement for justice
PHOTO: KXAN
Now playing
02:07
O'Rourke congratulates Cruz on his victory
PHOTO: CNN
Now playing
01:57
Tapper: This is not a blue wave
PHOTO: CNN
Now playing
02:11
Van Jones: It's a rainbow wave
LAS VEGAS, NV - OCTOBER 20:  U.S. Rep. and U.S. Senate candidate Jacky Rosen (D-NV) speaks during a rally at the Culinary Workers Union Hall Local 226 featuring former U.S. Vice President Joe Biden on October 20, 2018 in Las Vegas, Nevada. Early voting for the midterm elections in Nevada begins today. (Photo by Ethan Miller/Getty Images)
LAS VEGAS, NV - OCTOBER 20: U.S. Rep. and U.S. Senate candidate Jacky Rosen (D-NV) speaks during a rally at the Culinary Workers Union Hall Local 226 featuring former U.S. Vice President Joe Biden on October 20, 2018 in Las Vegas, Nevada. Early voting for the midterm elections in Nevada begins today. (Photo by Ethan Miller/Getty Images)
PHOTO: Ethan Miller/Getty Images
Now playing
01:45
CNN projects Jacky Rosen elected to US Senate
Additional Embargo:   Additional Source(s):    Date Shot: 11/6/2018   Shipping/Billing Info:     Description: Projects: None  Cost Center: Atlanta National Desk / 20100101   Created By: DHackett  On: 1541544461  --------------------------------------------------------------------------------
Additional Embargo: Additional Source(s): Date Shot: 11/6/2018 Shipping/Billing Info: Description: Projects: None Cost Center: Atlanta National Desk / 20100101 Created By: DHackett On: 1541544461 --------------------------------------------------------------------------------
PHOTO: WSB;
Now playing
00:59
Brian Kemp: Confident victory is near
2018 Elections Primary Clean path
2018 Elections Primary Clean path
PHOTO: CNN
Now playing
01:49
Pelosi: Tomorrow will be a new day in America
PHOTO: CNN
Now playing
01:36
The Democrats who might lead the House
PHOTO: CNN
Now playing
01:54
DeSantis thanks Trump in victory speech
PHOTO: KXAN
Now playing
01:44
Cruz: This election was a battle of ideas
(CNN) —  

Sen. Ted Cruz will defeat Democratic Rep. Beto O’Rourke in the race for Senate in Texas, CNN projects, holding off the progressive online fundraising sensation and leaving Democrats who hoped to snap a 24-year statewide losing streak disappointed again.

Cruz made his name in Washington as a right-wing crusader against Obamacare. That elevated him with the GOP’s base during his failed 2016 bid for the party’s presidential nomination – but also made him a top Democratic target.

Another reason progressive activists were deeply invested in the race: As more Latinos register to vote, Democrats believe the state that hasn’t elected a member of their party in 24 years will move leftward and eventually become competitive. It’s part of a Sun Belt shift that the left hopes could also remake the political landscapes of Georgia and Arizona and eventually lock in Colorado, New Mexico and Nevada as solidly Democratic.

The Texas Senate race’s flashpoints were often over cultural issues, particularly the National Anthem.

An O’Rourke speech defending NFL players who kneel to protest during the anthem and comparing them to Civil Rights Movement protesters went viral in August, leading Cruz to respond with a video featuring a double amputee.

“I gave two legs for this country. I’m not able to stand,” the veteran, Tim Lee, says in the video. “But I sure expect you to stand for me when the national anthem is being played.”

Cruz also accused O’Rourke of supporting a $10-a-barrel tax on oil – a policy that would be sharply felt in Texas, where the energy industry is an economic force. Cruz was criticizing O’Rourke’s vote against a GOP resolution rejecting such a proposal when former President Barack Obama offered it.

The attack led O’Rourke to call Cruz “dishonest” – and to pick up on President Donald Trump’s 2016 presidential campaign nickname for Cruz – in their second debate.

“It’s why the President called him ‘Lying Ted,’ and it’s why the nickname stuck – because it’s true,” he said.

O’Rourke later backtracked, saying at a CNN town hall that it wasn’t “the way I want to be talking in this campaign.”

“It’s not something that I feel totally comfortable with, and perhaps in the heat of the moment I took a step too far,” he said.

That didn’t stop Trump from unloading on O’Rourke days later when he visited Houston to campaign for Cruz, his former rival. Trump called O’Rourke “a radical, open borders left-winger” at a rally. He also tweeted that O’Rourke is a “flake.”