Dates in Star Wars are based around the Battle of Yavin (in Star Wars: Episode IV - A New Hope (1977)): Star Wars: Episode I - The Phantom Menace (1999) takes place 32 years BBY (Before the Battle of Yavin), Star Wars: Episode II - Attack of the Clones (2002) is 22 BBY, Star Wars: Episode III - Revenge of the Sith (2005) is 19 BBY, Star Wars: Episode IV - A New Hope (1977): is 0 BBY,