Three episodes of the Star Wars saga, 1977–1983
The super famous role of Luke Skywalker also played a cruel joke with the actor: directors did not want to give him main roles since they saw him exclusively as a Jedi from the intergalactic saga. Hamill fell into depression and came to terms with secondary roles.
Many actors who played in sensational franchises found it difficult to get rid of the label that stuck to them. But some do it: Harrison Ford, Natalie Portman, and Emma Watson, for example.