David Mandel is staying at HBO.

The Veep showrunner has inked a new three-year overall deal to remain based at his longtime home at the premium cable network. Mandel's longtime WME agent, Richard Weitz, brokered the deal, which had been in the works for weeks before the WGA-ATA talks broke down. Mandel is among the writers who have fired their agents amid the WGA's dispute with the ATA.

The news comes as the Julia Louis-Dreyfus starrer is heading toward the finish line of its seventh and final season and is considered the front-runner to take home its fourth outstanding comedy series Emmy.

Mandel, who took over for Veep creator Armando Iannucci in season five, has a long history with HBO, for whom he wrote, executive produced and directed Curb Your Enthusiasm. Mandel, who has earned two writing Emmy nominations for his work on Veep, also counts Saturday Night Live, Seinfeld and The Simpsons episodes among his credits. He also co-wrote the features Eurotrip and The Dictator. On the directing side, Mandel earned Emmy noms for a pair of Veep episodes and also counts installments of Curb, The Comedians and Eurotrip.

Mandel's new deal arrives as the market for top content creators and showrunners continues to reach new highs as broadcast networks, cable outlets and streamers alike look to build up their talent rosters to compete with Netflix amid new competitors in the streaming space including Apple, Disney+, WarnerMedia and Comcast. Most outlets are looking for experienced producers who can both showrun and groom up-and-coming writers in a producing capacity.

Mandel becomes the latest producer to re-up an overall deal with HBO. Silicon Valley co-creator Mike Judge also recently renewed his pact with HBO and landed a pair of production commitments as that comedy may also be heading toward its endgame.

Mandel is currently repped by Hansen Jacobson. He is among the writers who have backed the WGA and dropped their agents amid the battle over packaging fees with the ATA. (Mandel famously thanked WME agent Weitz — and his Instagram account — from the Emmy stage when Veep won best comedy honors at the 2016 Emmys.)

Be sure to catch Mandel's weekly Veep final season postmortems on THR.com.