The first Lego Star Wars, released in 1999, included model 7140, the first Lego X-wing. Star Wars was the first intellectual property to be licensed in Lego Group history. The first few sets based on the original trilogy were released in 1999, coinciding with the release of The Phantom Menace. Sets based on the prequel trilogy (Episodes 1 to 3) of Star Wars would follow, starting with Episode I. As each new film in the prequel trilogy neared its release date, Lego issued new models of ships and scenes in those films, as well as additional sets from the original trilogy. Lego also produced models based on The Clone Wars, which was released early in 2008. Sets based on The Force Awakens, Rogue One, Solo, Star Wars Rebels, and The Last Jedi have also been produced.