donald trump ted cruz iran rallySen. Ted Cruz (R-Texas) and Republican presidential candidate Donald Trump on September 9, 2015.REUTERS/Jonathan Ernst

The political feud between President Donald Trump and Sen. Ted Cruz of Texas during the 2016 election was one of the dirtiest in recent memory.

Trump and Cruz, who dropped out of the GOP primary in May 2016, attacked each other’s wives, citizenship, and integrity. They even threatened to sue, accusing each other of lying and cheating for various reasons.

After Trump won the party’s nomination, Cruz refused to endorse him at the Republican National Convention.

Cruz finally came around to make that endorsement in September 2016, and the two have worked together on Republican legislation since Trump took office.

By October 22, 2018, Trump even decided that Cruz was no longer “lyin’ Ted” — his notorious nickname for the senator during the campaign — and was now “beautiful Ted.” The president made the announcement ahead of a campaign rally he hosted in Texas to support Cruz’s tough reelection bid.

Here are 40 of the most memorable attacks the two threw at each other during the 2016 presidential campaign: