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.