“Mad Men” star Jon Hamm is set to join Ansel Elgort and Lily James in MRC and TriStar Pictures’ “Baby Driver,” sources tell Variety. Jamie Foxx has also joined the film.

Edgar Wright is writing and directing, with Working Title principals Eric Fellner and Tim Bevan producing along with Nira Park through her Big Talk Productions.

“Baby Driver” will see a 50/50 financing split between MRC and TriStar, with TriStar handling worldwide distribution.

The story concerns a young, talented getaway driver who relies on the beat of his personal soundtrack to be the best. After being coerced into working for a crime boss, he must face the music when a doomed heist threatens his life, love and freedom.

Details on Hamm’s role are being kept under wraps.

Production is expected to start later this year for a March 17, 2017, release date.

In September, Hamm won an Emmy for his lead role as Don Draper in AMC’s “Mad Men,” and was also nominated in the guest actor in a comedy category for Netflix’s “Unbreakable Kimmy Schmidt.” He can next be seen opposite Zach Galifianakis in Fox’s “Keeping Up With the Joneses.” He is repped by CAA and Forward Entertainment.