Medal of Honor recipient Dakota Meyer has endorsed Ted Cruz, the Texas Republican's campaign announced on Tuesday.

Meyer, a former Marine who earned the Medal of Honor for actions in Afghanistan, will join Cruz on the campaign trail in South Carolina, according to the release.

"We need a commander in chief who works with our allies and makes it known that certain actions against the United States and its allies will not be tolerated. I am confident that Ted Cruz has the ability and resolve to be commander-in-chief," Meyer said in a statement.

Meyer was briefly engaged to Bristol Palin, daughter of former GOP vice presidential nominee Sarah Palin. Bristol Palin blasted Cruz's campaign last month for saying he would be disappointed if her mother endorsed Donald Trump, which she ended up doing.

"Cruz's flip-flop turning against my mom who's done nothing but support and help him when others sure didn't, shows he's a typical politician. How rude too that he's setting up a false narrative about her," Bristol Palin reportedly wrote on Facebook.

Veterans have been a part of many high-profile election stories this cycle, including many complaining that Trump was using them as pawns when he held an event for veterans instead of attending a Fox News debate.

Twelve Medal of Honor recipients, including Marine Lance Cpl. Kyle Carpenter, have endorsed Jeb Bush, The Hill reported.

Cruz is currently second on the Washington Examiner's presidential power rankings. Bush is fifth.