A former CIA agent won Tuesday's run-off election in Texas' 23rd District, beating a longtime GOP stalwart.

Will Hurd won the Republican nomination to battle freshman Democratic Rep. Pete Gallego in the upcoming midterm elections.

Fox News Latino reports that Hurd won over Tea Party favorite Francisco "Quico" Canesco on Tuesday.

"I think this is a clear sign that the folks in this district are ready for something new. They're tired of career politicians," Hurd said.

"Our message has been resonating in these 29 counties. They want someone to be [in Washington] who's their representative, not just their congressman," he added.

While both were conservative candidates, Hurd represented a break from the state's political establishment.

Canesco, who spent two years in Washington, lost to Gallego in 2012 when Gallego ran unopposed as a Democratic candidate. Canesco was seen as running a weak campaign this year, and faced heightened scrutiny due to his incumbent status.

During his concession speech, Canesco said he was "proud of the positive campaign I maintained," and said he is not sure if he will continue his political career.

"This is my passion. This was my passion. I think that maybe it's not for me, maybe it is for me," he said. "It's not the right time to think about these things. I'm just licking my wounds from this campaign."

Hurd will now take on Gallego in November. Hurd has a tough road ahead -- Gallego has raised more than $1.2 million for his reelection campaign. The district is a swing district that could vote in either a Democrat or a Republican, making the race all the more competitive.

The 23rd District spans from San Antonio to El Paso along the Texas border with Mexico. The district has a large Hispanic population, with 66 percent of the district of Latino descent.