It's the end of the road for TV's Peggy Carter.

ABC has canceled Marvel drama Agent Carter after two seasons, The Hollywood Reporter has learned.

The second of Marvel's ABC dramas, while a critical favorite, was never a ratings breakthrough. The Hayley Atwell starrer earned a surprise second season renewal and returned as a "gap" show under former ABC Entertainment Group president Paul Lee.

Despite heaps of praise from critics, Carter finished its limited run with a 1.4 rating among adults under 50 and 4.3 million total viewers with DVR — both a far cry from Agents of SHIELD. Compounding that, ABC is spinning off popular Agents of SHIELD favorites Adrianne Palicki and Nick Blood for Marvel's Most Wanted, a more natural extension of the already renewed flagship series.

For her part, Atwell already booked the lead (in first position) in buzzy ABC procedural Conviction, which has been looking good for a series order as Carter fans are left to ponder that cliffhanger ending.

Additionally, ABC has passed on picking up Agents of SHIELD spinoff Marvel's Most Wanted after redeveloping the project from last year. Following the adventures of Bobbi Morse (aka Mockingbird) and Lance Hunter, SHIELD favorites Adrianne Palicki and Nick Blood were set to reprise their roles after exiting the flagship series earlier this season. Delroy Lindo, Oded Fehr and Fernana Andrade were set to co-star in the drama from writer Paul Zbyszewski.

Keep up with all the renewals, cancellations and new series pickups with THR's handy scorecard and follow thepilot crop status here. For full upfronts 2016 coverage, go to THR.com/upfronts.