Fans reach for Houston Astros Yordan Alvarez's two-run home run against the Seattle Mariners during the sixth inning in Game 2 of an American League Division Series baseball game in Houston, Thursday, Oct. 13, 2022. (AP Photo/Kevin M. Cox) New York Yankees Harrison Bader rounds third base on his way to score against the New York Yankees during the fourth inning of Game 4 of an American League Championship baseball series against the Houston Astros, Sunday, Oct. 23, 2022, in New York. (AP Photo/John Minchillo) New York Yankees shortstop Isiah Kiner-Falefa can't get a glove on the ball on a throwing error by second baseman Gleyber Torres while trying to turn a double play against the Houston Astros during the seventh inning of Game 4 of an American League Championship baseball series, Sunday, Oct. 23, 2022, in New York. Houston Astros Jose Altuve reached second base safely on the play. (AP Photo/Seth Wenig) Houston Astros Yordan Alvarez follows through on an RBI base hit to score the tying run against the New York Yankees during the seventh inning of Game 4 of an American League Championship baseball series, Sunday, Oct. 23, 2022, in New York. (AP Photo/John Minchillo) Houston Astros Jose Altuve (27) scores on a base hit by Yordan Alvarez against the New York Yankees during the seventh inning of Game 4 of an American League Championship baseball series, Sunday, Oct. 23, 2022, in New York. (AP Photo/John Minchillo) Houston Astros Jeremy Pena (3) reacts after scoring on a base hit by Alex Bregman against the New York Yankees during the seventh inning of Game 4 of an American League Championship baseball series, Sunday, Oct. 23, 2022, in New York. (AP Photo/John Minchillo) Houston Astros Alex Bregman (2) follows through on a base hit to drive in a run against the New York Yankees during the seventh inning of Game 4 of an American League Championship baseball series, Sunday, Oct. 23, 2022, in New York. (AP Photo/John Minchillo) New York Yankees Gleyber Torres tosses his bat after striking out against the Houston Astros to end the seventh inning of Game 4 of an American League Championship baseball series, Sunday, Oct. 23, 2022, in New York. (AP Photo/John Minchillo) Houston Astros third baseman Alex Bregman (2) and first baseman Yuli Gurriel (10) celebrate after the Astros defeated the New York Yankees 6-5 to win Game 4 and the American League Championship baseball series, Monday, Oct. 24, 2022, in New York. (AP Photo/John Minchillo) Houston Astros first baseman Yuli Gurriel, Alex Bregman and relief pitcher Ryan Pressly (55) celebrate after the Astros defeated the New York Yankees 6-5 to win Game 4 and the American League Championship baseball series, Monday, Oct. 24, 2022, in New York. (AP Photo/John Minchillo) Houston Astros third baseman Alex Bregman, right, and first baseman Yuli Gurriel celebrate after the Astros defeated the New York Yankees 6-5 to win Game 4 and the American League Championship baseball series, Monday, Oct. 24, 2022, in New York. (AP Photo/Julia Nikhinson) The Houston Astros celebrate after defeating the New York Yankees 6-5 to win Game 4 and the American League Championship baseball series, Monday, Oct. 24, 2022, in New York. (AP Photo/John Minchillo) Houston Astros shortstop Jeremy Pena (3) celebrates with pitcher Justin Verlander after the Astros beat the New York Yankees 6-5 to win Game 4 and the American League Championship baseball series, Monday, Oct. 24, 2022, in New York. (AP Photo/Seth Wenig) New York Yankees starting pitcher Nestor Cortes, right, leaves the game with an injury during the fourth inning of Game 4 of an American League Championship baseball series against the Houston Astros , Sunday, Oct. 23, 2022, in New York. (AP Photo/John Minchillo) Houston Astros Yordan Alvarez (44) reacts after scoring against the New York Yankees during the third inning of Game 4 of an American League Championship baseball series, Sunday, Oct. 23, 2022, in New York. (AP Photo/Seth Wenig) New York Yankees relief pitcher Wandy Peralta (58) is checked by a trainer during the third inning of Game 4 of an American League Championship baseball series against the Houston Astros, Sunday, Oct. 23, 2022, in New York. (AP Photo/Seth Wenig) Houston Astros Jeremy Pena reacts after hitting a three-run home run against the New York Yankees during the third inning of Game 4 of an American League Championship baseball series, Sunday, Oct. 23, 2022, in New York. (AP Photo/Seth Wenig) The Houston Astros celebrate after defeating the New York Yankees 6-5 to win Game 4 and the American League Championship baseball series, Monday, Oct. 24, 2022, in New York. (AP Photo/John Minchillo) Houston Astros designated hitter Yordan Alvarez (44) celebrates with teammates after his three-run, walkoff home run against the Seattle Mariners during the ninth inning in Game 1 of an American League Division Series baseball game in Houston,Tuesday, Oct. 11, 2022. (AP Photo/David J. Phillip) Philadelphia Phillies manager Rob Thomson watches his players during batting practice before Game 3 of baseball's National League Division Series against the Atlanta Braves, Friday, Oct. 14, 2022, in Philadelphia. (AP Photo/Matt Slocum) Houston Astros starting pitcher Justin Verlander (35) works during the fifth inning in Game 1 of baseball's American League Championship Series between the Houston Astros and the New York Yankees, Wednesday, Oct. 19, 2022, in Houston. . (AP Photo/Kevin M. Cox) Fans cheer during the first inning in Game 3 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Friday, Oct. 21, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies' Kyle Schwarber celebrates his home run during the first inning in Game 3 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Friday, Oct. 21, 2022, in Philadelphia. (AP Photo/Matt Rourke) Houston Astros manager Dusty Baker Jr. watches play from the dugout against the New York Yankees during the fifth inning of Game 3 of an American League Championship baseball series, Saturday, Oct. 22, 2022, in New York. (AP Photo/Seth Wenig) Philadelphia Phillies designated hitter Bryce Harper celebrates with the trophy after winning the baseball NL Championship Series in Game 5 against the San Diego Padres on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies' Bryce Harper rounds the bases after a two-run home run during the eighth inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies starting pitcher Ranger Suarez celebrates their win against the San Diego Padres in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies celebrate their win against the San Diego Padres in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Rourke) Philadelphia Phillies celebrate after winning the baseball NL Championship Series against the San Diego Padres on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Brynn Anderson) The Philadelphia Phillies celebrate after winning the baseball NL Championship Series against the San Diego Padres in Game 5 on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies designated hitter Bryce Harper celebrates with the trophy after winning the baseball NL Championship Series in Game 5 against the San Diego Padres on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies' Bryce Harper rounds the bases after a two-run home run during the eighth inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies' Bryce Harper hits a two-run home run during the eighth inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies shortstop Bryson Stott celebrates after winning the baseball NL Championship Series in Game 5 against the San Diego Padres on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) The Philadelphia Phillies pose after winning the baseball NL Championship Series against the San Diego Padres in Game 5 on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies celebrate with the trophy after winning the baseball NL Championship Series in Game 5 against the San Diego Padres on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Rourke) Philadelphia Phillies' Rhys Hoskins celebrates his two-run home run during the third inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) San Diego Padres' Jose Azocar scores past Philadelphia Phillies relief pitcher Seranthony Dominguez on a wild pitch during the seventh inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) The grounds crew works the field during the seventh inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) San Diego Padres starting pitcher Yu Darvish leaves the game during the seventh inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) San Diego Padres relief pitcher Robert Suarez throws during the seventh inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Brynn Anderson) Philadelphia Phillies' Bryce Harper watches his two-run home run during the eighth inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Rourke) Philadelphia Phillies' Bryce Harper hits a two-run home run during the eighth inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Rourke) Philadelphia Phillies' Bryce Harper celebrates after a two-run home run with J.T. Realmuto during the eighth inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Slocum) Philadelphia Phillies' Bryce Harper rounds the bases after a two-run home run during the eighth inning in Game 5 of the baseball NL Championship Series between the San Diego Padres and the Philadelphia Phillies on Sunday, Oct. 23, 2022, in Philadelphia. (AP Photo/Matt Rourke)
(NewsNation ) — The Houston Astros and the Philadelphia Phillies are heading to the 2022 World Series .
The Astros swept the New York Yankees in a close, nailbiting Game 4 on Sunday night, claiming their spot in the World Series. The team was awarded the American League (AL) pennant.
The Astros beat the Yankees 6-5 to finish off the American League Championship Series (ALCS).
New York was 99-63 overall and 57-24 in home games. The Yankees hit 254 total home runs to lead the AL.
Houston had a 106-56 record overall and a 51-30 record on the road. The Astros have the seventh-best team on-base percentage in the majors at .319.
Only one of 39 teams has recovered from a 3-0 postseason series deficit to win, the Boston Red Sox against the Yankees in the 2004 ALCS. Thirty teams completed sweeps.
In the National League (AL), the Philadelphia Phillies took the NLCS series 4-1 against the San Diego Padres on Sunday.
Bryce Harper slugged a two-run blast in the eighth inning that turned Citizens Bank Park into a madhouse, and the $330 million slugger powered the Phillies past the San Diego Padres 4-3 on Sunday and into the World Series for the first time since 2009.
Philadelphia was 87-75 overall and 47-34 in home games. The Phillies had a 54-21 record in games when they did not allow a home run.
San Diego was 89-73 overall and 45-36 in road games. The Padres were 70-19 in games when they out-hit their opponents.
The Astros will take on the Phillies at home for the first game of the best-out-of-seven-games series on Friday, Oct. 28. The team to win four games first will become the 2022 World Series Champions and will also be awarded the Commissioner’s Trophy.
The Associated Press contributed to this report.