A crowd filled with famous faces gathered on Saturday to witness a momentous union — and in other news, Prince Harry married Meghan Markle. For its 43rd season finale, “Saturday Night Live” brought together two powerful entertainers: Tina Fey, who hosted the episode, and the rapper Nicki Minaj, its musical guest. Among the stars who made cameos were Benedict Cumberbatch, Robert De Niro, Donald Glover, John Goodman, Anne Hathaway, Lin-Manuel Miranda and Jerry Seinfeld.

When “S.N.L.” alums return as hosts, they tend to reprise their most beloved characters from the show. For Fey, that character is unquestionably her rendition of the 2008 vice-presidential hopeful Sarah Palin. Palin didn’t show up until the final half-hour, in a sketch set in the Oval Office. It was the highlight of the evening.

“It’s me, the ghost of Sarah Palin,” Fey said as if speaking to Palin’s fans, before clarifying that she was just kidding. “I’m still alive,” she said. “But you had to think about it, didn’t ya?” Clad in a leather motorcycle jacket, Fey explained, “One minute you’re on top, and then you’re gone in the blink of a Scaramucci.” Then she sang a few bars of “What I Did for Love,” from the musical “A Chorus Line.”