Texas GOP candidate for Senate Ted Cruz on Wednesday took a swipe at his primary opponent on immigration, the Houston Chronicle reports.

David Dewhurst, Cruz's Republican opponent and the state's lieutenant governor, recently sought to bolster his own hardline stance on immigration. In a debate last week, he said he was opposed to a guest worker program "until and unless" the border is secured. And on Wednesday, his campaign released an ad that features Dewhurst in a cowboy hat on what appears to be the Texas-Mexico border, saying the Obama administration's recent immigration policy change "burns me up."

The Cruz campaign fired back the same day with a statement highlighting a speech Dewhurst gave in 2007 that appeared to show his past support for a guest worker program.

“We need a human presence at the border and a humane presence at the border," Dewhurst said in the speech. "I support secure borders both North and South and I support a guest worker program for those here today illegally."

Both campaigns have strived to maintain a hardline stance on immigration at the other's expense.

In an earlier radio ad, Dewhurst's campaign accused Cruz of helping to run two national pro-amnesty organizations. At the time, PolitiFact Texas concluded the ad offered a "misrepresentation," saying, it "isn’t just inaccurate; it’s ridiculous."

10 more election stories from beyond the presidential field:

Also on HuffPost: