Officially he was listed as the “Chewbacca Consultant” for Star Wars: The Last Jedi where the role was taken over by Joonas Suotamo, who doubled for Mayhew when necessary in The Force Awakens.
His last official performance as Chewbacca was in Star Wars: The Force Awakens.
Peter Mayhew made his debut in Star Wars: A New Hope as Chewbacca and the role has been good to him ever since.
In addition to inhibiting the suit for the original Star Wars trilogy he also wore the costume for everything from theme park rides to The Muppet Show and Glee as well as lending the voice of Chewbacca to several Star Wars animated projects and video games.