Marvel's 'Agent Carter,' new Shonda Rhimes series are among new shows.

ABC has ordered new Marvel series Agent Carter and made it three of a kind with producer Shonda Rhimes with a new legal drama.

Among its first pickups for next season's lineup, to be unveiled May 13, Carter, a secretive project rumored to have been on ABC's fast track, stars Hayley Atwell and is "inspired by" Marvel's Captain America movies. It follows Peggy Carter, an agent in 1946 who is marginalized when fighting men return home from World War II.

Already behind Thursday hits Scandal and Grey's Anatomy, Rhimes has sold the network a third series. How to Get Away with Murder follows a law professor (Viola Davis) and her ambitious law students, who get caught up in a murder plot.

The network also made its first official renewals: Grey's, Scandal, Modern Family, The Middle, Marvel's Agents of S.H.I.E.L.D., Dancing with the Stars, Revenge, Once Upon a Time, Castle, The Goldbergs and midseason drama Resurrection will be back for new seasons, though Revenge was the only real question mark.

Other new dramas include:

--Forever, starring Ioan Gruffudd as an New York City medical examiner trying to learn the secret to his own immortality. (Judd Hirsch plays his best friend.)

--Galavant, a "musical comedy fairy-tale" with songs from Alan Menken and Glenn Slater (The Little Mermaid).

--The Whispers, a sci-fi drama about aliens who enlist the help of Earth's unwitting kids when invading the planet Lily

On the comedy side, the network is adding:

--Selfies, an update on My Fair Lady for the Internet age, features "instafamous" social-media magnet Eliza Dooley (Karen Gilian), who suddenly discovers "being friended is not the same as having actual friends." This Henry (John Cho) helps wean her offline.

ABC will announce its full lineup May 13, including the fates of in-limbo series Nashville, Suburgatory, Trophy Wife, Mixology and Last Man Standing. ABC this week also extended late-night host Jimmy Kimmel's contract for two more years, through early 2017.