Latenight hosts Jimmy Fallon and Seth Meyers paid tribute to comedic legend Robin Williams during their “The Tonight Show” and “Late Night” broadcasts on Tuesday, following the actor’s suicide on Monday.

Joining numerous public figures who have expressed their sadness at Williams’ passing, Fallon launched into an imitation of Williams’ manic standup performances before replaying a clip from the star’s first appearance on “The Tonight Show Starring Johnny Carson,” which showcased Williams’ penchant for mischief as he did his best to outwit the show’s cameramen by leaving the stage to interact with the audience.

Fallon ended his tribute by standing on his desk in homage to Williams’ role as English teacher John Keating in “Dead Poets Society,” declaring, “O Captain! My Captain! You will be missed.”

Meyers struck a more sober note in his heartfelt tribute, admitting that when he worked at a video store in his youth, he would often check out Williams’ standup albums, which “brought me a great amount of joy.” Meyers added, “The saddest part of this is that Robin was battling depression, and if there’s anything we can do to honor his memory, I would hope it would be to use this opportunity to educate us more about this terrible affliction.”

SEE ALSO: Conan O’Brien Delivers Robin Williams News to Stunned Live TV Audience

Correction: A previous version of this post typoed Johnny Carson as Jimmy Carson.