What star wars movie came out before the last jedi?
No context provided
What star wars movie came out before the last jedi in 2015?
Episode VII – The Force Awakens
No context provided
What star wars movie came out before the last jedi in 2005?
Episode III – Revenge of the Sith
No context provided
What star wars movie came out before the last jedi in 2002?
Episode II – Attack of the Clones
List of Star Wars films
https://en.wikipedia.org/wiki/List%20of%20Star%20Wars%20films
Star Wars: The Last Jedi
https://en.wikipedia.org/wiki/Star%20Wars%3A%20The%20Last%20Jedi
Star Wars: The Last Jedi (also known as Star Wars: Episode VIII – The Last Jedi) is a 2017 American epic space opera film written and directed by Rian Johnson. Produced by Lucasfilm and distributed by Walt Disney Studios Motion Pictures, it is the second installment of the Star Wars sequel trilogy, following The Force Awakens (2015), and the eighth episode of the nine-part "Skywalker saga". 
Star Wars: The Last Jedi
Years later, a prequel trilogy was released, consisting of Star Wars: Episode I – The Phantom Menace (1999), Star Wars: Episode II – Attack of the Clones (2002), and Star Wars: Episode III – Revenge of the Sith (2005).
List of Star Wars films
Star Wars: The Last Jedi, also known as Star Wars: Episode VIII – The Last Jedi, is a 2017 American epic space opera film that is the second installment of the Star Wars sequel trilogy, following Episode VII – The Force Awakens released in 2015 as part of the nine-part "Skywalker saga".  It was preceded by the release of Star Wars: Episode I – The Phantom Menace released in 1999, Star Wars: Episode II – Attack of the Clones released in 2002, and Star Wars: Episode III – Revenge of the Sith released in 2005.