RNC crowd turns on Ted Cruz for endorsing Trump's 'wall' -- but not him
Sen. Ted Cruz (R-TX) appears at the Republican National Convention in Cleveland on July 20, 2016. (YouTube)

Sen. Ted Cruz (R-TX) congratulated Donald Trump -- and backed his immimgration policy -- during his appearance at the Republican National Convention on Wednesday.

"We deserve an immigration system that puts America first -- and yes, builds a wall to keep America safe," Cruz said. However, the Tea Party lawmaker only mentioned Trump by name once -- much less than Democrats Barack Obama and Hillary Clinton, and as many times as NBA star LeBron James.

Seemingly realizing that Cruz would not endorse the party's presumptive presidential nominee, the end of his speech was greeted with boos. Cruz also asked Republicans to vote with their conscience, a phrase often used by members of the party's "Never Trump" faction, which sought to put his nomination to a roll-call vote earlier in the week.

RELATED: Right-wingers have online meltdown after ‘backstabbing rat’ Cruz won’t endorse Trump

The senator also invoked the death of Dallas police officer Michael Smith to misrepresent Black Lives Matter protesters.

"He protested the very protesters who mocked him," Cruz said. He did not mention that the suspect, Micah Xavier Johnson, had no connection to the movement, or that the relationship between local police and the movement was positive, to the point that, as Slate reported, the department posted pictures online showing officers standing aside a man holding a sign saying, "No justice, no peace."

Cruz also boasted about the role of the Republican Party in fighting slavery and passing the Civil Rights Act. He did not mention that the party is also responsible for implementing Lee Atwater's "Southern Strategy," or its current pursuit of voting guidelines that disenfranchise elderly voters of color.

Update, 10:22 p.m. EST: CNN reported that Cruz's wife, Heidi, was escorted from the event after hecklers chanted "Goldman Sachs" at her.

Watch the speech in its entirety, as posted online, below.