Cobie Smulders is now confirmed for the part of S.H.I.E.L.D. Agent Maria Hill in The Avengers.

Smulders is best known as Robin on the sitcom "How I Met Your Mother” and was loosely referenced in connection to an unproduced Wonder Woman film when Avengers director Joss Whedon was attached.

Comic book readers will be aware of Hill's role in the Marvel Universe as Nick Fury's second-in-command who took over as Director of S.H.I.E.L.D. when Fury went missing during the "Civil War" storyline. Maria Hill has also appeared in a couple of the cartoons as well, most recently voiced by Kari Wührer on "The Avengers: Earth's Mightiest Heroes."

The Avengers will hit theaters on May 4, 2012.

More From 107.7 WGNA