Chris Evans is hanging up the shield as Captain America.

The star seemed to officially confirm he is leaving the role, now that he has wrapped filming on "Avengers 4," the follow-up to "Infinity War." On Twitter, he wrote, "It was an emotional day to say the least. Playing this role over the last 8 years has been an honor."

He added that he was "eternally grateful" for the opportunity to play the Marvel superhero.

The 37-year-old actor has been hinting in recent years that his time as Steve Rogers was drawing to a close. "Avengers 4" has been described by Marvel as the end of an era, the final chapter of the 20-film, decade-long saga started by "Iron Man."

Evans was introduced in the role in 2011's "Captain America" and appeared as the clean-cut hero in "The Avengers" (2012), "Captain America: The Winter Soldier" (2014), "Avengers: Age of Ultron" (2015), "Captain America: Civil War" (2016), and this year's "Avengers: Infinity War."

It's possible that Marvel will reboot the Captain America character. In the comics, Steve Rogers was replaced by others that exist in the Marvel Cinematic Universe: Bucky Barnes (Sebastian Stan) and Sam Wilson aka The Falcon (Anthony Mackie).