Original: Star Wars Episode IV: A New Hope Star Wars Episode V: The Empire Strikes Back In Star Wars Episode V: The Empire Strikes Back, set three years later, Luke, now a lieutenant commander in the Rebel Alliance and in command of a fighter squadron.
Simplified: Luke was in three Star Wars movies, Episode IV: A New Hope, Episode V: The Empire Strikes Back and Episode VI: Return of the Jedi.