By James Hibberd
August 07, 2015 at 07:17 PM EDT
Brad Barket/Getty Images for Comedy Central

Jon Stewart went out on a ratings high note. 

His final episode as host of Comedy Central’s The Daily Show delivered 3.5 million viewers and 1.8 million adults 18-49. 

That marks Stewart’s second most-watched episode of all time (the No. 1 telecast was in 2008, which featured President Barack Obama as guest). The finale was also the most social episode in the show’s history, generating 233,000 tweets. The ratings are also firmly higher than the the 2.5 million generated by the final episode of spin-off The Colbert Report.

Perhaps fittingly, The Daily Show concluded the same night as Stewart’s frequent mockery target, Donald Trump, made big headlines while participating in his first Republican presidential debate — which generated an estimated 24 million viewers. 

Related Stories

End of an era: The Daily Show with Jon Stewart

20 Daily Show correspondents past and present get candid about Jon Stewart

Josh Gad on the ‘soul-crushing’ moment that followed his successful Daily Show audition

Olivia Munn on how Jon Stewart ‘personalized’ the news for the younger generation

Rob Corddry reveals ‘the only crazy thing’ about Jon Stewart

Stephen Colbert remembers the first time he met Jon Stewart

Ed Helms on Jon Stewart’s legacy and why The Daily Show doesn’t have a ‘political agenda’

Rob Riggle: Jon Stewart is ‘everything you’d want in a boss’

Lewis Black calls Jon Stewart the ‘Walter Cronkite of his generation’

Jessica Williams reflects on Jon Stewart’s legacy as he prepares to leave The Daily Show behind

John Oliver says ‘it’s hard to overstate’ Jon Stewart’s influence on his post-Daily Show career

That time Jon Stewart saved Bill Clinton from an awkward encounter

What should Jon Stewart do next? Former Daily Show correspondents offer advice