"To everybody on television, I just want to tell you: cling to it, as long as you can, like in the Titanic," he told the audience . "This is the first applause I've heard (since wrapping The Daily Show), it is a barren wasteland out there. … You have craft services? Out in the world, there are tables of food, but you can't take it! It costs money, very little of it is gluten-free or vegan."

The 'Daily Show' alum will create short-form digital content, which will be showcased on HBO Now, HBO Go and other platforms. The deal also includes a first-look option for other film and TV ventures.

Jon Stewart has a new home: HBO.

The former Daily Show host has signed a four-year production deal with the premium-cable network and will kick off the pact with the creation of topical short-form digital content.

The pact will see the short-form digital content showcased on HBO Now, HBO Go and other platforms. Also included in the pact is a first-look option for other film and TV ventures.

The first HBO project will see the Comedy Central alum work with cloud-graphics company OTOY, Inc. to develop new technology to allow Stewart to produce timely short-form digital content, which will be refreshed on HBO Now multiple times throughout the day. Additional projects will be announced as they are confirmed.

"Jon Stewart led a revolution that changed the face of TV comedy on the Daily Show," said HBO programming president Michael Lombardo in a release announcing the news Tuesday. “He graced our network nearly 20 years ago, so we’re thrilled to welcome back his immense talents in this next chapter of his career.”

Added Stewart: “Appearing on television 22 minutes a night clearly broke me. I’m pretty sure I can produce a few minutes of content every now and again.”

The gig marks Stewart's first pact since stepping down from The Daily Show earlier this year after a 16-year run. The Comedy Central series recently won three Emmys, including variety series talk. During his run, the show received 23 Emmys and two Peabody Awards.

Stewart is a two-time Oscar host, and he wrote the best-selling book Naked Pictures of Famous People and co-authored the best-selling books America (The Book): A Citizen's Guide to Democracy Inaction and Earth (The Book): A Visitor’s Guide to the Human Race. He wrote and directed the 2014 feature film Rosewater.

The deal brings Stewart back to HBO, where he previously had a stand-up special, Jon Stewart: Unleavened, and hosted George Carlin: 40 Years of Comedy and Mr. Show With Bob and David and had a recurring role on The Larry Sanders Show.

For HBO, the Stewart deal comes as the premium cabler looks to bulk up its SVOD option HBO Now, front-of-mind as it recently signed pacts with Bill Simmons, Vice and Sesame Street. Stewart joins John Oliver, who had filled in for him while he was filming Rosewater, at HBO.

Stewart is repped by WME and Dixon Talent.