The trailer for Avengers: Infinity War has been released.

The first trailer for the biggest Marvel movie ever has already set social media abuzz.

Fans of The Avengers series flocked to Edinburgh last year as keen fans attempted to spot filming locations and stars during the summer.

Sign up to our daily newsletter The i newsletter cut through the noise Sign up Thanks for signing up! Sorry, there seem to be some issues. Please try again later. Submitting...

Locals witnessed a number of scenes being filmed in the Capital with Cockburn Street, the Royal Mile and even Waverley station being used as locations for the blockbuster.

Production ran in Edinburgh from March to April 21 with a number of the stars also taking to the city streets to explore the Capital.

And it appears that a small part of Edinburgh has made it into the trailer at 1:21.

The arches in the sandstone wall at Waverley Station make a (very) brief appearance in the background

The background shows the pillars at Waverley Station

As part of the shoot, a vast 160,000 sq ft warehouse on the Leith waterfront was turned into a film studio.

Rosie Ellison, Head of Film Edinburgh, Edinburgh’s film office, said: “The Avengers is one of the most successful and highest grossing franchises ever, so Edinburgh’s appearance in Avengers: Infinity War, which will be watched by millions of people around the world, will showcase the city on a global scale. The film will not only reach a huge number of potential visitors, it also demonstrates Edinburgh’s film friendly credentials to future productions.

“Avengers Infinity War was the most complex shoot ever to film in Edinburgh, a feat even more impressive given that the majority of the filming took place within an UNESCO World Heritage site, and Film Edinburgh and the City of Edinburgh Council worked closely with the filmmakers over several months to facilitate it.”

Filmed partly on location in Edinburgh over seven weeks, Avengers: Infinity War was the largest and most complex shoot ever to film in Edinburgh’s historic Old Town and city centre. The production saw over 400 crew members working on the shoot, following three months of pre-production and several months of preparation in advance of this, working closely with Film Edinburgh and the City of Edinburgh Council. In total the production generated an estimated £10 million plus for the city region in economic impact.

Filming in Edinburgh for Averngers Infinity War

Speaking about filming in Edinburgh earlier this year, directors Anthony and Joe Russo said:

Joe Russo: “When Edinburgh came up as a location option we jumped at the chance. The city is such a unique and iconic location, but one never seen as the backdrop for a big action film, which is incredibly exciting.”

Anthony Russo: “The support from all local agencies, such as Film Edinburgh, has been invaluable in helping to coordinate this complicated shoot. “We appreciate the entire city’s help and are excited to have such a beautiful and historic city in the film.”

The background shows the pillars at Waverley Station

Avengers Infinity War ushers in a new arc for the Marvel Comic Universe that will see Thanos embarking on his quest to collect each of the prized Infinity Stones.

Part 1 will be released on April 27.