David Letterman ended his 33-year run as host of the "Late Show" on Wednesday night, and four living U.S. presidents marked the occasion by bidding him farewell — or good riddance.

ADVERTISEMENT

Barack Obama, George W. Bush, Bill Clinton and George H.W. Bush appeared in a video send-off that aired at the beginning of Letterman's final show.

"Our long national nightmare is over," each of them said, echoing the words of the late President Gerald Ford.

"Letterman is retiring," Obama added. Letterman then came on screen next to him and asked, "You're just kidding, right?"

Obama made his final appearance on Letterman's show earlier this month. He became the first sitting president to appear on the "Late Show" in 2009 and made another appearance two months before the 2012 election.

The president's @BarackObama Twitter account also posted a goodbye message to Letterman.

The only living former U.S. president not to appear in the video tribute was Jimmy Carter.