Former Mad Men actor John Slattery has cast his former co-star Jon Hamm and Tina Fey in his new dark comedy Maggie Moore(s).

Hamm will play the male lead in the movie, which is set in a desert town "where nothing ever happens" until two women with the same name are murdered, leaving the town's police chief to solve the mystery, has reported.

Tina Fey

Slattery is directing the black comedy and he has also cast Fey opposite Hamm as the female lead.

Fey and Hamm have also previously worked together having appeared in the comedies 30 Rock and The Unbreakable Kimmy Schmidt.

Actor turned director Slattery made his directorial feature debut in 2014 with God's Pocket, which starred the late Philip Seymour Hoffman, John Turturro, Richard Jenkins, and Mad Men co-star Christina Hendricks.

He also directed several episodes of Mad Men, the award-winning series about the ad men of New York's Fifth Avenue in the 1960s.

Slattery as Roger Sterling in Mad Men

Hamm can next be seen in the much talked about romantic drama Wild Mountain Thyme opposite Emily Blunt and Jamie Dornan, which is set in Ireland.

He also stars with Tom Cruise in the upcoming Top Gun: Maverick, while Fey will co-host the Golden Globes with Amy Poehler this Sunday.