Ex-Mexican President Vincente Fox put his finger on the scale for the Democratic candidate in the Texas race for the U.S. Senate, saying he should have the vote of 'every single' Latino in the state.

The Trump-hating former official came out in favor of Rep. Beto O'Rourke in a video he posted to Twitter that said: 'Wow! What a candidate! What a man! Beto, you are fantastic. You’re great! You’re an all-American.'

'You are the enlightenment for Texas and I hope every single Mexican, Latin, every Hispanic in that great state of Texas is going to vote for you,' Fox said.

Democratic Rep. Beto O'Rourke is attempting to unseat Republican Sen. Ted Cruz, a Cuban-American

Ex-Mexican President Vincente Fox put his finger on the scale for the Democratic candidate in the Texas race for the U.S. Senate, saying he should have the vote of 'every single' Latino in the state

O'Rourke is attempting to unseat Republican Sen. Ted Cruz, a Cuban-American.

Cruz is seven points ahead of his challenger in the latest CNN poll with less than three weeks to go.

On Monday, in Houston, the sitting senator will campaign with the president, who's certain to bring up his desire to construct a wall along Texas' border with Mexico.

He claims the foreign nation is purposely sending murderers and rapists across into America.

O'Rourke has said that he believes that Trump's arguments in favor of a border barrier are a 'racist reaction to a racist myth that does not reflect the reality of this country at all.'

Fox said in a video he posted to Twitter on Thursday night that O'Rourke is just the kind of politician that Texas needs in the U.S. Senate.

'You deserve it because you are going to respond to the hope and expectations of Texas, understanding what they need and understanding what America needs,' he said as footage of O'Rourke from CNN's town hall that evening played in the background.

Cruz is seven points ahead of his challenger in the latest poll with less than three weeks to go

The former Mexican president, who served until December of 2006, has been one of Trump's most outspoken critics, when it comes to building a border wall.

Fox has repeatedly attacked Trump for the campaign promise that he originally accompanied a promise that the barrier would be directly paid for by Mexico.

The retired politician said in an April interview with CNBC: 'We are not paying for that f***in' wall. That's for sure. And why should we? I mean, it's incredible.

'We are offended. We're really offended. We don't like what he has said about Mexico and Mexicans. Every Mexican is now very clear that we must fight, we must resist,' Fox insisted. 'That he will go away one day, I hope soon. And that Mexico's much more than this relationship. We are not the little guy on the backyard.'

Outgoing Mexican president Enrique Pena Nieto also says his country won't pay for the border barrier, as has his successor.

Trump has since claimed that he'd get money from Mexico through forced concessions in the newly-negotiated United States Mexico Canada Agreement.

The former Mexican president, who served until December of 2006, has been one of Trump's most outspoken critics, when it comes to building a border wall. He condemned his reference to illegal immigrant gang members as 'animals' in a tweet earlier this year

He says the wall is necessary go keep out drug dealers and 'animal' gang members who torture and kill their victims.

In a May tweet, after Trump first called murderous illegal immigrants 'animals' during a conversation on border security at the White House, Fox told the American president 'you’ve got to get your s**t together: migrants are people who have left everything behind - not by choice, to pursue a better life.'

'You must show compassion and humanity. your golden head and a #F***ingWall won’t stop these people’s dreams and hopes,' he said.

In a January tweet, after Trump's reported 's***thole' countries comment, Fox told him: 'Donald Trump, your mouth is the foulest s***hole in the world. With what authority do you proclaim who’s welcome in America and who’s not.'

Fox did not mention Trump in his endorsement of O'Rourke but alluded to the immigration debate.

'You not only understand America, you know about humanity. This is what the U.S. needs: someone compassionate yet firm. I stand with you because I believe you’re what America needs,' a tweet that accompanied the video stated.