Mark Hamill was 24 years old during the principal photography of Star Wars: Episode IV – A New Hope , which took place from March to July 1976. The film was released in 1977 when Hamill was 25 years old, as he was born in September 1951