By The Associated Press

Former Republican presidential nominee Mitt Romney said Friday he will vote for Texas Sen. Ted Cruz in the upcoming caucuses in his home state of Utah, intensifying his attack against front-runner Donald Trump.

"There is a contest between Trumpism and Republicanism," Romney wrote on his official Facebook page. "Through the calculated statements of its leader, Trumpism has become associated with racism, misogyny, bigotry, xenophobia, vulgarity and, most recently, threats and violence. I am repulsed by each and every one of these."

Responding on Twitter, Trump noted that Romney had previously supported the candidacies of Ohio Gov. John Kasich and Florida Sen. Marco Rubio. "Mitt Romney is a mixed up man who doesn’t have a clue," Trump wrote. "No wonder he lost!"

At a press conference by the Arizona-Mexico border, Cruz said he welcomed Romney’s backing, even if it stopped short of a full endorsement.

"In my book, when somebody says I’m voting for you and I’m telling other people to vote for you, that’s pretty damn good," Cruz said.

Cruz also scoffed at Trump’s tweets urging Mormons not to vote for the Texas senator because he is a "liar."

"I have no intent of responding like a junior high school child," he said. "I’m sure the LDS community appreciates Donald Trump’s advice on how to practice their faith."

Kasich tried to brush off Romney’s endorsement of Cruz.

"This is his view and he’s entitled to it. Frankly, I don’t think anybody’s going to have enough delegates to get to the convention," Kasich said after a town hall in Orem, Utah, on Friday. "This is really about who we want to run the country. This is not a parlor game."

Romney delivered a scathing attack on Trump in a speech at the University of Utah earlier this month, in which he called Trump "a phony" who is "playing the American public for suckers."

A number of Republican officials have shown their support for Cruz in recent days while falling short of endorsing the senator, who is currently in second place in the race for the GOP nomination. On Thursday, South Carolina Sen. Lindsey Graham said he would help Cruz’s fundraising efforts but stopped short of offering his endorsement to his senate colleague.

Romney also said in his statement Friday that he likes Kasich, who currently trails both Trump and Cruz, but said "a vote for Gov. Kasich in future contests makes it extremely likely that Trumpism would prevail."

Utah is one of four contests scheduled for Tuesday. Early polling shows Cruz leading among the state’s predominantly Mormon voters.

Trump currently leads his rivals, having won 678 delegates in contests held thus far, according to a count by The Associated Press. Cruz is in second place with 423 delegates, and Kasich is in third with 143.

Needed to win: 1,237.

Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox