The New York Yankees and Boston Red Sox will meet in the American League (AL) Wild Card showdown after winning late to deny the Toronto Blue Jays and Seattle Mariners.
Four teams were vying for two AL Wild Card berths on a chaotic finale to the MLB's regular season, with the possibility of a four-way tie.
While the Mariners went down to the Los Angeles Angels 7-3, the Blue Jays crushed the lowly Baltimore Orioles 12-4 to give themselves a chance of forcing a Game 163 as they watched the Yankees and Red Sox contests anxiously.
But the Yankees and Red Sox produced two clutch hits to secure their spot in the play-offs.
Aaron Judge drove home the winning run in the ninth inning of the Yankees' 1-0 win over the Tampa Bay Rays, while the Red Sox overturned a 5-1 deficit to trump the Washington Nationals 7-5 behind Rafael Devers' two-run homer in the ninth.
Giants win NL West on final day
The San Francisco Giants clinched the National League (NL) West title for the first time since 2012 with a 11-4 rout of the San Diego Padres. San Francisco denied World Series champions the Los Angeles Dodgers thanks to their franchise-record 107th victory of the season, eclipsing the 1904 New York team. The Dodgers topped the Milwaukee Brewers 10-3 to settle for an NL Wild Card meeting with the St Louis Cardinals.
Blue Jays star Vladimir Guerrero Jr. (48) – alongside Salvador Perez of the Kansas City Royals – and Padres sensation Fernando Tatis Jr. (42) ended the regular season as the home run leaders in their respective leagues. It is the first time in AL-NL history both leagues were led by players aged 22 or younger thanks to Guerrero and Tatis.
Dodgers star Trea Turner became the first NL player to lead the league in hits in back-to-back seasons since Terry Pendleton in 1991 and 1992. On the back of his second grand slam in 48 hours, Turner finished with 195 hits. He also won the NL batting title (.328), ahead of Washington's Juan Soto. Yuli Gurriel (.319) of the Houston Astros claimed the AL title.
Corbin Burnes became the first Brewers pitcher to earn an ERA title, having topped the NL at 2.43, beating Dodgers starters Max Scherzer (2.46) and Walker Buehler (2.47) to the honour. Toronto's Robbie Ray (2.84) led the AL's ERA standings.
The Yankees, Red Sox and Dodgers all have injury concerns heading into the Wild Card round. Yankees star DJ LeMahieu landed on the injured list due to a hip/groin problem ahead of Sunday's game. Red Sox slugger J.D. Martinez exited in the sixth inning with a sprained left ankle. Meanwhile, Dodgers slugger Max Muncy is "very unlikely" to feature in the NL Wild Card Game because of a left elbow injury sustained in the third inning.
Guerrero breaks record
Having earned a share of the AL home run title, Guerrero made history. His 48 homers are the most in a season by a player aged 22 or younger, eclipsing Eddie Matthews (47 in 1953).
Los Angeles Angels 7-3 Seattle Mariners
Boston Red Sox 7-5 Washington Nationals
Cincinnati Reds 6-3 Pittsburgh Pirates
Cleveland Indians 6-0 Texas Rangers
San Francisco Giants 11-4 San Diego Padres
New York Yankees 1-0 Tampa Bay Rays
Toronto Blue Jays 12-4 Baltimore Orioles
Arizona Diamondbacks 5-4 Colorado Rockies
Detroit Tigers 5-2 Chicago White Sox
Los Angeles Dodgers 10-3 Milwaukee Brewers
Minnesota Twins 7-3 Kansas City Royals
Houston Astros 7-6 Oakland Athletics
Miami Marlins 5-4 Philadelphia Phillies
Chicago Cubs 3-2 St Louis Cardinals
Atlanta Braves 5-0 New York Mets
Yankees at Red Sox
The famous Yankees and Red Sox rivalry will take centre stage for Tuesday's AL Wild Card blockbuster in Boston. Gerrit Cole will face Nathan Eovaldi in a mouth-watering pitching matchup. The winner will face the Tampa Bay Rays in the AL Division Series (ALDS), starting Wednesday.