Davita Scarlett has been named co-showrunner of HBO’s “The Gilded Age” for Season 5, joining creator and executive producer Julian Fellowes. Sonja Warfield, who shared the role with Fellowes for Seasons 3 and 4, will remain an executive producer.

The series recently received an early renewal for Season 5, three episodes into its Season 4 run. Scarlett joined the period drama in Season 4 as a writer and executive producer, and succeeds Warfield as co-showrunner.

Scarlett is the only writer besides Fellowes and Warfield to receive a writing credit across the show’s four seasons to date. She co-wrote Episode 402 with Fellowes. She is said to have impressed executives and producers with her work on Season 4.

Before joining “The Gilded Age,” Scarlett had an overall deal at CBS Television Studios. She was a co-executive producer on Robert and Michelle King’s “The Good Fight” for four seasons and “Evil” for three. Her work on “The Good Fight” earned her an NAACP Image Award for Outstanding Writing in a Drama Series. Her other credits include Apple TV’s “Are You Sleeping,” OWN’s “Queen Sugar,” TNT’s “Animal Kingdom” and NBC’s “Constantine.”

“It was an honor to join The Gilded Age creative team for Season 4 and a dream come true to continue on with Season 5 as co-showrunner,” Scarlett said. “It’s such a privilege to work alongside Julian Fellowes to craft these delicious, explosive stories, and I’m so grateful to Casey Bloys, Francesca Orsi, Clint LaVigne, and Cela Sutton for welcoming me into the HBO family. I’m truly delighted to expand my relationship with HBO and Universal Television, and I can’t wait to collaborate more with the brilliant artists that make up our cast and crew.”

Warfield joined the show as a writer and co-executive producer in Season 1, was promoted to executive producer in Season 2 and became co-showrunner in Season 3. She had previously written for sitcoms and children’s shows.

The change comes as the series’ fourth-season viewership is up 20% from Season 3, while most streaming shows are declining. The article describes showrunner changes on hit series as rare, though not unprecedented, citing Netflix’s “Bridgerton,” where Jess Brownell replaced creator Chris Van Dusen after Season 2.

“Running these past two seasons of The Gilded Age with Julian has been a dream,” Warfield said. “I love the cast, crew, and these characters deeply. Having worked alongside Davita for Season 4, I know that she and Julian will be a terrific duo and I can’t wait to see what they have in store. While I felt this was the right time for me to move on from the role to explore other projects, I’ll remain close to 61st Street continuing my role as Executive Producer.”