Title: 2019 World Series
Content:  of the series being won by the home team. The Astros' opponent in the best-of-seven American League Championship Series (ALCS) was the New York Yankees, who had defeated the Minnesota Twins in their playoff series, three games to none. In the ALCS, the Astros and Yankee split the first two games, followed by the Astros winning two-of-three games played at Yankee Stadium. Game 6 in Houston was then won by the Astros, giving them the series win, four games to two. The Astros' ALCS victory advanced them to their third overall World Series appearance (2 in the American League & one in the National League), and second in three years.
Title: 2005 World Series
Content:  dropped Game 1, but were able to regroup and win Games 2–4. With the Astros on the verge of clinching their first ever National League pennant in Game 5, Albert Pujols hit a mammoth three-run home run off Brad Lidge in the top of the ninth inning to take the lead, and subsequently stave off elimination. However, behind NLCS MVP Roy Oswalt, the Astros were able to defeat the Cards 5–1 in Game 6 and earned a trip to the World Series. With the win, this was the Astros' first World Series appearance in franchise history, and the last game played in Busch Stadium II, as it was demolished months after the game and the Cardinals moved to Bucsh Stadium III the next season.
Title: 2005 Houston Astros season
Content:  The 2005 Houston Astros season was the 44th season for the Major League Baseball (MLB) franchise in Houston, Texas. They qualified for the postseason for the second consecutive season and it was the sixth time they had done so in a span of nine seasons. Expectations had been raised since the Astros had come one win away from a pennant the previous year. However, they got to a sluggish 15–30 start. They then went on to win 74 of the next 117 games to claim the wild card playoff spot, and would go on to win the National League pennant to advance to the World Series for the first time in franchise history, which gave them the privilege of hosting the first World Series game in the state of Texas. However, they were swept by the Chicago White Sox in the World Series. It was longtime Astros first baseman Jeff Bagwell's final season and first World Series appearance. However, it was also the last playoff appearance for ten seasons, as a slow decline swept in following the retirements of players such as Bagwell.
Title: Houston Astros sign stealing scandal
Content:  at Minute Maid Park while losing all three road games at Yankee Stadium. In the World Series, the Astros defeated the Los Angeles Dodgers in seven games, going 2–2 at Dodger Stadium and 2–1 at Minute Maid Park. It was their first World Series championship in franchise history. The Astros finished in first place in the AL West again in 2018 with a 103–59 record but lost the AL Championship Series to the Red Sox. Houston returned to the World Series in 2019 and in 2021, losing to the Washington Nationals in seven games and the Atlanta Braves in six games, respectively.
Title: Houston Astros
Content:  Astros faced the Chicago White Sox in the World Series. Chicago had been considered the slight favorite but would win all four games, the first two at U.S. Cellular Field in Chicago and the final two in Houston. Game 3 marked the first World Series game held in the state of Texas, and was the longest game in World Series history, lasting 5 hours and 41 minutes. This World Series was marked by a controversy involving the Minute Maid Park roof. MLB and Commissioner Bud Selig insisted that the Astros must play with the roof open, which mitigated the intensity and enthusiasm of the cheering Astros fans.
Title: Houston Astros
Content:  three consecutive 100-win seasons in the same decade. Entering the playoffs as the top-seeded team in both leagues, they defeated the AL Wild Card winner Tampa Bay Rays in five games in the ALDS, advancing to the ALCS for the third year in a row to face the New York Yankees. In Game 6 at Minute Maid Park, Jose Altuve hit a walk-off home run to win the pennant and send the team to its third World Series appearance. However, they lost the 2019 World Series to the Washington Nationals in seven games, taking three games in Washington but losing all four of their games at home.
Title: World Series
Content:  in 1980 to the Philadelphia Phillies, lost in 1986 to the New York Mets, lost in 2004 to the Cardinals, and won in 2005 versus the Cardinals) and 2–2 in four ALCS appearances (winning in 2017 and 2019 against the New York Yankees and losing to the Boston Red Sox in 2018 and the Tampa Bay Rays in 2020). The Astros are the only team in MLB to appear in the World Series as a member of both the National League (2005) and the American League (2017 and 2019); they have gone 1-2 overall across three World Series appearances, going 0-1 as a member of 
Title: History of the Houston Astros
Content:  The Astros' opponent in their first ever World Series was the Chicago White Sox. Games 1 and 2 were held at U.S. Cellular Field in Chicago, while Games 3 and 4 were played at Minute Maid Park. Game 3 also marked the first Fall Classic game to be played in the state of Texas, and was the longest game in World Series history, lasting 14 innings. Early conventional wisdom held that the White Sox were a slight favorite, but that Houston would be an even match. However, the Astros' situational hitting continued to plague them throughout the World Series. The White Sox swept the Astros in the best-of-seven series with a run differential of only six.
Title: 2017 Houston Astros season
Content:  the Astros met the Red Sox at home in the AL Division Series (ALDS), and defeated them in four games. Houston then advanced to the AL Championship Series (ALCS) and defeated the New York Yankees in seven games for their first American League pennant. Combined with their NL pennant in 2005, the Astros became the first MLB team to make it to the World Series as members of both the National and American Leagues. Finally, the Astros faced and defeated the Los Angeles Dodgers in the 2017 World Series 4 games to 3. The 2017 Astros featured the highest-scoring offense in the major leagues (896 runs scored), including the highest batting 
Title: 2019 Houston Astros season
Content:  For the first time in franchise history, the Astros finished the season with the best record in baseball and defeated the Tampa Bay Rays in the Division Series by a margin of three games to two. They then defeated the New York Yankees in the American League Championship Series (ALCS) by a margin of four games to two, winning the pennant and a trip to the World Series for the second time in three years. However, they were defeated by the Washington Nationals in seven games in the World Series. Despite the World Series upset, this Astros team is still considered to have put together one of the 

Question: who did the astros play last time they were in the world series?
Answer: White Sox.
Los Angeles Dodgers.