"Saturday Night Live" honored former President Barack ObamaBarack Hussein ObamaThe Memo: Centrists change tone of Democratic race Political purity tests are for losers Deportations lower under Trump administration than Obama: report MORE’s legacy with a musical tribute during its first show after President Trump’s inauguration.

SNL cast members sang Sidney Poitier's “To Sir, With Love” with a large portrait of Obama behind them.

The SNL cast members also presented a “World’s Greatest President” mug for Obama at the end of their performance.

The move to honor Obama with a song echoes the show’s decision to have a cast member portraying Hillary ClintonHillary Diane Rodham ClintonDemocrats ask judge for quick ruling on McGahn subpoena Hillary Clinton: 'Every day Stephen Miller remains in the White House is an emergency' The Memo: Centrists change tone of Democratic race MORE sing an emotional “Hallelujah” just after the Democratic nominee’s surprise defeat to Trump in the 2016 election in November.

ADVERTISEMENT

Trump became the country’s 45th president on Friday. The Obamas flew to Palm Springs, Calif. immediately after the inauguration.