Hot Fuzz is a 2007 action comedy film directed by Edgar Wright, written by Wright and Simon Pegg, and starring Pegg and Nick Frost.
 The three and the film's producer Nira Park had previously worked together on the television series "Spaced" and the 2004 film "Shaun of the Dead".
 The film follows two police officers attempting to solve a series of mysterious deaths in an English village.
Benjamin "Benji" Dunn is a fictional character in the .
 He is portrayed by Simon Pegg.
The World's End is a 2013 British-American comic science fiction film directed by Edgar Wright, written by Wright and Simon Pegg, and starring Pegg, Nick Frost, Paddy Considine, Martin Freeman, Eddie Marsan and Rosamund Pike.
 The film follows a group of friends who discover an alien invasion during an epic pub crawl in their home town.
Run Fatboy Run is a 2007 British-American comedy film directed by David Schwimmer, written by Michael Ian Black and Simon Pegg, and starring Pegg, Dylan Moran, Thandie Newton, Harish Patel, India de Beaufort, and Hank Azaria.
 It was released in the United Kingdom on 7 September 2007, in Canada on 10 September 2007, and in the United States on 28 March 2008.
Mission: Impossible – Rogue Nation is a 2015 American action spy film co-written and directed by Christopher McQuarrie.
 It is the fifth installment in the .
 The film stars Tom Cruise, Jeremy Renner, Simon Pegg, Rebecca Ferguson, Ving Rhames, Sean Harris, and Alec Baldwin with Cruise, Renner, Pegg, and Rhames reprising their roles from previous films.
 "Rogue Nation" is produced by Cruise, J. J. Abrams, and David Ellison of Skydance Productions.
 In the film, IMF agent Ethan Hunt is on the run from the CIA, following the IMF's disbandment as he tries to prove the existence of the Syndicate, a mysterious international terrorist consortium.
Shaun of the Dead is a 2004 British horror comedy film directed by Edgar Wright, written by Wright and Simon Pegg, and starring Pegg and Nick Frost.
 Pegg plays Shaun, a man attempting to get some kind of focus in his life as he deals with his girlfriend, his mother and stepfather.
 At the same time, he has to cope with an apocalyptic zombie uprising.
Star Trek Beyond is a 2016 American science fiction adventure film directed by Justin Lin from a screenplay by Simon Pegg and Doug Jung and based on the series "Star Trek" created by Gene Roddenberry.
 It is the thirteenth film in the "Star Trek" film franchise and the third installment in the reboot series, following "Star Trek" (2009) and "Star Trek Into Darkness" (2013).
 Chris Pine and Zachary Quinto reprise their respective roles as Captain James T. Kirk and Commander Spock, with Pegg, Karl Urban, Zoe Saldana, John Cho and Anton Yelchin reprising their roles from the previous films.
 This was also one of Yelchin's last films before his death in June 2016.
 Idris Elba, Sofia Boutella, Joe Taslim and Lydia Wilson also appear.
Litza Bixler (born 25 August 1970) is an American and British film choreographer, Artistic Director and Writer.
 She is best known for her work with Edgar Wright<ref name="Wright/Pegg/Frost Interview"> </ref> on "The World's End", "Scott Pilgrim vs. the World" and "Shaun of the Dead".
 Other films with the Wright/Frost/Pegg stable include Nick Frost's salsa comedy "Cuban Fury" and the romantic comedy "Man Up" (starring Simon Pegg).
Simon John Pegg (né Beckingham; born 14 February 1970) is an English actor, comedian, screenwriter, and producer.
 He co-wrote and starred in the "Three Flavours Cornetto" trilogy of films: "Shaun of the Dead" (2004), "Hot Fuzz" (2007), and "The World's End" (2013).
 He and Nick Frost wrote and starred in the sci-fi film "Paul" (2011).
 Pegg portrayed Benji Dunn in the (2006–present) and Montgomery Scott in "Star Trek" (2009), "Star Trek Into Darkness" (2013), and "Star Trek Beyond" (2016), co-writing the latter.
Man Up is a 2015 British-French romantic comedy film directed by Ben Palmer from a screenplay written by Tess Morris, starring Simon Pegg and Lake Bell.
 The film follows a single 34-year-old woman (Bell), who after being mistaken for a stranger's blind date, finds the perfect boyfriend in a 40-year-old divorcé (Pegg).
 The film was released on 29 May 2015 by StudioCanal.

Question: Benjamin "Benji" Dunn is a character portrayed by Simon Pegg in what 2016 blockbuster film, which Pegg also co-wrote?
Answer: "Star Trek Beyond"