Sen. Ted Cruz isn't having much luck getting the endorsements of his Senate colleagues, but he has picked up one from a former foe: Carly Fiorina.

“Ted Cruz is a fearless fighter for our constitutional rights. He has spent his life protecting Americans’ God-given liberties, and he has always stood by his word. Unlike the status-quo political class in D.C., Ted Cruz didn’t cower when he got to Washington – he stood unequivocally for the American people. I know Ted, and he’ll do the same as president,” the former chief executive officer of Hewlett-Packard said in a statement.

Fiorina dropped out of the race after the New Hampshire GOP primary, where she placed seventh with 4 percent of the vote. In 2010, she ran against Sen. Barbara Boxer, D-Calif., but lost 52-42 percent, despite the GOP's nationwide success in those midterm elections.

"Our campaign is stronger with her leadership and her voice. Her story embodies the promise that in America anyone can start as a secretary and become a Fortune 50 CEO," Cruz said in his accompanying statement to the endorsement.