Robert Redford plays the character Alexander Pierce in Avengers: Endgame. Alexander Pierce is the former Secretary of S.H.I.E.L.D. who is revealed to be a double agent working for Hydra. Redford reprises this role from Captain America: The Winter Soldier in a brief cameo during a time-travel sequence in Avengers: Endgame, where he is seen debating with Tony Stark over the Tesseract shortly after the Battle of New York. This cameo in Avengers: Endgame is notable as Robert Redford's final on-screen film appearance before his retirement from acting.