T.J. Miller is leaving Silicon Valley.

The actor best known for his portrayal of blowhard entrepreneur Erlich Bachman on the HBO comedy will not be back for the upcoming fifth season. The pay cabler confirmed Miller's exit on Thursday.

"The producers of Silicon Valley and T.J. Miller have mutually agreed that T.J. will not return for season 5," HBO said in a statement. "In Erlich Bachman, T.J. has brought to life an unforgettable character, and while his presence on the show will be missed, we appreciate his contribution and look forward to future collaborations."

News of Miller's departure comes mere hours after HBO renewed the tech-spoofing comedy for another season and halfway through the show's fourth season run. The series, run by Mike Judge and Alec Berg, has been a critical hit since its debut in 2014, winning two Emmy awards along the way.

The rest of the show's ensemble cast — made up of Thomas Middleditch, Zach Woods, Kumail Nanjiani, Martin Starr, Josh Brener, Amanda Crew, Matt Ross, Jimmy O. Yang and Suzanne Cryer — is expected to return for the forthcoming season.

Since Silicon Valley's debut, Miller's profile has risen considerably. In addition to launching his own Comedy Central series The Gorburger Show, the actor was seen on the big screen in holiday blockbuster Office Christmas Party, opposite Jason Bateman and Jennifer Aniston, as well as Ryan Reynolds' R-rated superhero flick Deadpool. Miller will reprise his role in the latter's sequel, due out in 2018.

Miller's film schedule has since remained hectic. He is currently making the press rounds for The Emoji Movie, which is set to bow in theaters in July, even parasailing into the Cannes Film Festival last week to promote it. Also in the queue for the actor is Steven Spielberg's Ready Player One adaptation, Western film Walden, Kristen Stewart thriller Underwater and How to Train Your Dragon 3.

The comedian's first standup special with the premium cable network, Meticulously Ridiculous, will premiere June 17 on all of HBO's platforms. There's also a chance, sources say, that Miller may return to Pete Holmes' comedy Crashing in season two.

Nanjiani, who plays Dinesh on Silicon Valley, tweeted about his co-star's departure, calling Miller "the funniest guy I've ever met" and adding that he was "thrilled to work [with] him for [four] years."