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: 2019 World Series
Content:  In the prior two seasons, the Astros had won the 2017 World Series, the franchise's first World Series championship, and lost the 2018 American League Championship Series to the Boston Red Sox. The Astros finished the 2019 regular season atop the American League West—their third consecutive division championship—with a 107–55 (.660) win-loss record. Their 107 wins were a franchise record, and the most in MLB for the season. The Astros' first opponent in the postseason was determined by the American League Wild Card Game, which saw the Tampa Bay Rays defeat the Oakland Athletics. In the best-of-five American League Division Series, Houston defeated Tampa Bay in five games, with each 
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: 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: 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 
Title: Houston Astros
Content:  rebound from an 0–3 series deficit, the Astros ultimately fell to the Tampa Bay Rays after seven historically tight games in the ALCS. In 2021, the Astros won the American League West title for the fourth time in five seasons while winning 95 games. Then, in the 2021 American League Championship Series, they beat the Boston Red Sox in six games to go to their third World Series in five seasons, a pennant win-rate not seen in nearly a decade. There, they lost to the Atlanta Braves in six games. From 1962 through the end of the 2021 season, the Astros' all-time record is 4,725-4,764 (.498)
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: History of the Houston Astros
Content:  team with a losing record to win a postseason series. In the ALCS, they became the second MLB team after the 2004 Boston Red Sox to force a seventh game in a best-of-seven series after trailing three games to none, but lost the seventh game to the Tampa Bay Rays. In 2021, the Houston Astros were once again a winning team and clinched the AL West crown with a 95–67 record. They defeated the Boston Red Sox in the ALCS to go to their third World Series in five years, where they lost to the Atlanta Braves in six games.
Title: Houston Astros
Content:  transforming from a middling franchise into one of MLB's most dominant and successful clubs, winning over 100 games in three straight seasons, although they were central players in a major cheating scandal. The Astros won the 2017 World Series, their first championship, against the Los Angeles Dodgers in seven games in the wake of Hurricane Harvey. Having been defeated by Boston the following year in the 2018 ALCS, the Astros returned to the World Series in 2019, losing to the Washington Nationals in seven games despite putting together an all-time great, and franchise-best, regular season. On January 13, 2020, Astros manager A. J. Hinch and general manager 
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.

Question: when is last time the astros won the world series?
Answer: 2017.