Shaun of the Dead is a 2004 horror comedy film directed by Edgar Wright. The film was written by Wright and Simon Pegg, who stars in it as Shaun. Along with friend Ed, played by Nick Frost, Shaun is caught unaware by the zombie apocalypse; they attempt to take refuge in a local pub with their loved ones. The film co-stars Kate Ashfield, Lucy Davis, Dylan Moran, Bill Nighy, and Penelope Wilton. It is the first installment in the Three Flavours Cornetto trilogy, followed by Hot Fuzz (2007) and The World's End (2013).