<P> After Transformers: Age of Extinction, Bay had decided not to direct any future Transformers films . But in early January 2016, in an interview with Rolling Stone, he stated that he would return to direct the fifth film, and that it will be his last Transformers film . Paramount Pictures spent $80 million on production in Michigan, in return for $21 million in state incentives, under agreements entered into before the state legislature eliminated the film office incentive program in July 2015 . In April 2016, Paramount hired cinematographer Jonathan Sela . On May 17, Bay revealed the official title of the film to be The Last Knight on his Instagram account, where he also posted a production video showing a close - up of Optimus Prime's face with purple eyes instead of blue, and his face mostly discolored . The official Twitter account showed a 19 - second short video in morse code that translates to "I'm coming for you May 31". On May 31, it was revealed that Megatron would return in the sequel . </P> <P> In December 2014, Mark Wahlberg confirmed that he would return in the sequel . In February 2016, there were casting calls for new lead and supporting roles in Los Angeles and London, and Peter Cullen was announced as returning to voice Optimus Prime . Approximately 850 cast and crew were hired, 450 of whom were Michigan residents, equating to 228 full - time positions . Additionally, 700 extras were hired from among Detroit residents, as part of Paramount's incentive deal with the state . On April 13, TheWrap reported that Isabela Moner was in talks to star as Izabella . The site also reported that Bay was eyeing Jean Dujardin, Stephen Merchant, and Jerrod Carmichael for supporting roles . On May 17, 2016, it was confirmed that Josh Duhamel would reprise his role in the film, and Jerrod Carmichael was cast . In June 2016, Anthony Hopkins, Mitch Pileggi, Santiago Cabrera, and Laura Haddock joined the cast, and Tyrese Gibson stated that he will return as Robert Epps . In August 2016, Liam Garrigan was confirmed to play King Arthur, a different version from his role as the same character on the television series Once Upon a Time . On September 4, 2016, Stanley Tucci confirmed his return . On October 14, 2016, Bay announced that John Turturro would reprise his role as Seymour Simmons from the first three films, and that John Goodman would return to voice Hound . A month before the film's release, Bay revealed that the character Cogman would be voiced by Downton Abbey actor Jim Carter, at the request of co-writer Matt Holloway, who is a fan of the series . On June 9, 2017, Reno Wilson confirmed via Twitter that he would have a voice role in the film . On June 16, 2017, Gibson revealed that despite closing a deal for the film, he was unable to appear as Epps due to scheduling conflicts with The Fate of the Furious . </P> <P> Principal photography began on May 25, 2016, in Havana, Cuba, with a few scenes shot by a "small team". Filming continued on June 6, 2016, in Phoenix, Arizona, and on June 19, 2016, in Detroit, Michigan, under the working title E75, with additional filming taking place in Chicago, Illinois . In Detroit, filming took place in the Michigan Motion Pictures Studio, Packard Plant, Michigan Central Station, Cafe D'Mongo's Speakeasy, and MGM Grand Detroit . Production moved to Europe on August 21, and filming commenced on August 22 in Scotland and Wales . In England, filming took place in North Yorkshire, Newcastle upon Tyne, Northumberland, London, Gosport and Stonehenge . Between August and October, filming occurred in Ireland, and Preikestolen, Trolltunga and Atlanterhavsveien in Norway . </P> <P> In early September 2016, filming took place in Alnwick Castle in Alnwick Northumberland in England, including car chase scenes . Production continued at St Aidan's Church, Seahouses, where Walhberg spent an hour inside the church and reportedly donated £ 200 . Rev Father Des McGiven said: "I didn't even know he was in church until he left . One of my parishioners, Danielle Love, recognised him and explained who he was . It's great that we had him in for the service, and we appreciate his generosity towards our church ." Car chases were also filmed at the monument area of Newcastle upon Tyne, where Josh Duhamel was filming, while Wahlberg and Sir Anthony Hopkins continued at Alnwick, Seahouses and the Bamburgh Region of Northumberland . In late September 2016, filming was spotted in Gosport, Hampshire at the Royal Navy Submarine Museum . On October 5, 2016 filming was spotted at St Bartholomew - the - Great, London . London filming wrapped on October 27, 2016 . Principal photography wrapped on December 4, 2016 . </P>

Where did they film transformers the last knight
find me the text answering this question