In this image released by Disney, from left, Paul Rudd, Jeremy Renner, Chris Evans, Elizabeth Olsen and Sebastian Stan appear in a scene from "Captain America: Civil War". Photo: AP

Captain America’s hanging up his shield.

Actor Chris Evans has said Avengers 4 has wrapped filming - and confirmed he will no longer be playing Captain America.

Evans, who had been playing Captain America for almost a decade, made the announcement on Twitter.

He tweeted: “Officially wrapped on Avengers 4. It was an emotional day to say the least. Playing this role over the last 8 years has been an honour.

“To everyone in front of the camera, behind the camera, and in the audience, thank you for the memories! Eternally grateful.

The actor previously pointed out to retiring the character in a profile in the The New York Times which quoted him as saying, “You want to get off the train before they push you off.”

The 37-year-old Evans - who played Johnny Storm in a couple of Fantastic Four films - first played Steve Rogers, aka Captain America, in 2011’s Captain America: The First Avenger.

He then played the character in The Avengers (2012), Captain America: The Winter Soldier (2014), Avengers: Age of Ultron (2015), Captain America: Civil War (2016), Avengers: Infinity War (2018), as well as cameos in a number of other Marvel films.

While his Captain America had a relatively small amount of screentime in this year’s Avengers: Infinity War, the writers of that movie and Avengers 4 have said the hero will be the front and centre in the next instalment.

[email protected]