It came down to the wire, but ABC has given a 13-episode Season 6 order to Marvel’s Agents Of S.H.I.E.L.D.

Primetime-Panic Your Complete Guide to Pilots and Straight-to-Series orders See All

Agents of S.H.I.E.L.D. was the only chance for a Marvel series on ABC next season, with freshman series Inhumans canceled following a disappointing fall run. Despite its low live ratings, S.H.I.E.L.D. is a strong DVR gainer and an even stronger international seller for ABC Studios, as well as a marketing platform for Marvel. Even with DVR lifts, Marvel’s Agents Of S.H.I.E.L.D.’s Live+7 adults 18-49 average for this season is a so-so 1.2 rating.

Marvel’s Agents of S.H.I.E.L.D. stars Clark Gregg as Agent Phil Coulson, Ming-Na Wen as Agent Melinda May, Chloe Bennet as Daisy Johnson, Iain De Caestecker as Agent Leo Fitz, Elizabeth Henstridge as Agent Jemma Simmons, Henry Simmons as Agent Alphonso “Mack” MacKenzie and Natalia Cordova-Buckley as Elena “Yo-Yo” Rodriguez.

The series was co-created by Joss Whedon, Jed Whedon & Maurissa Tancharoen, who also serve as executive producers along with Jeffrey Bell, Jeph Loeb and Jim Chory.