Former Doctor Who star Matt Smith has nabbed a role in Pride and Prejudice and Zombies, the film adaptation of Seth Grahame-Smith’s novel. Smith will play wealthy wife-seeker Mr. Collins opposite Lily James, who stars as Liz Bennett.

The horror-comedy— based on Grahame-Smith’s zombie-infiltrated version of the Jane Austen classic and directed by Burr Steers (17 Again)— also features Douglas Booth, Sam Riley, Jack Huston and Bella Heathcote. The film has had a rocky journey to the big screen, originally to be directed by David O. Russell—who ended up co-writing the screenplay— and cycling through a slew of directors before securing Steers, who also co-wrote the screenplay.