The Astros played in the NL from 1962 to 2012, first in the West Division from 1969 to 1993, followed by the Central Division from 1994 to 2012. The team was reclassified to the AL West from 2013 onward. While a member of the NL, the Houston Astros played in one World Series in 2005, losing in four games to the Chicago White Sox. In 2017, they became the first franchise in MLB history to have won a pennant in both the NL and the AL, when they defeated the New York Yankees in the ALCS. They won the 2017 World Series against the Los Angeles Dodgers, winning four games to three, earning the team, and the state of Texas, its first World Series title.