Actor Robert De Niro honored longtime friend Al Pacino on Sunday at the American Icon Awards, and then took a shot at President Donald Trump, noting that impeachment and imprisonment would "make America great again," Variety reported.

>> Read more trending news

During the ceremony, De Niro praised Pacino, his “lifelong compatriot,” along with the program’s other inductees -- music producer Quincy Jones and former pro boxer Evander Holyfield.

The pair have starred in four movies together, most famously in “The Godfather, Part 2,” in which Pacino uttered the line, “Keep your friends close, but your enemies closer.”

On Sunday night, De Niro kept Trump close in his thoughts.

Robert De Niro, right, honored fellow actor Al Pacino on Sunday night.

Credit: Kevin Winter/Getty Images

icon to expand image

Credit: Kevin Winter/Getty Images

“You didn’t think you were going to completely get away without a ‘(expletive) Trump’ moment, did you?” De Niro said during his speech.

In a video obtained by TMZ, De Niro is heard praising the night's honorees, saying "They've earned our respect and admiration, and they deserve this tribute."

“On the other hand, the individual who currently purports to lead America is not worthy of any tribute,” De Niro said, to a mixture of cheers and boos. “Unless you think of his impeachment and imprisonment as a sort of tribute. Now that’s how you can make America great again.”