National League catcher Elias DIaz of the Colorado Rockies holds up the MVP trophy after winning the 2023 MLB All Star Game at T-Mobile Park. Joe Nicholson-USA TODAY Sports

The losing streak is mercifully over for the National League.

After nine consecutive All-Star Game defeats to the American League, the NL finally snapped the streak with a come-from-behind 3-2 win at T-Mobile Park on Tuesday night.

The AL was nine outs from extending its run of dominance to a full decade when Philadelphia's Nick Castellanos led off the top of the eighth inning with a walk off of Orioles' Felix Bautista. Pinch-hitter Elias Diaz then drilled the fifth pitch he saw from Baltimore's closer 360 feet to left field—a homer that earned him MVP honors.

It was the first lead of the game for the NL, whose bullpen threw three scoreless innings to finish the game. That included San Diego's Josh Hader holding the lead in the eighth inning and Phillies' Craig Kimbrel surviving a 30-pitch ninth to pick up the save.

After Tampa Bay's Wander Franco flew out to the warning track in right field, Kimbrel struck out Toronto's Vladimir Guerrero Jr., who had won the Home Run Derby the night before. However, Kimbrel then issued consecutive two-out walks to Houston's Kyle Tucker and Seattle's Julio Rodriguez before striking out Cleveland's Jose Ramirez.

San Francisco's Camilo Doval pitched a scoreless seventh inning, picking up the win courtesy of the winning homer by Colorado's catcher.

The AL had pulled ahead 2-1 in the bottom of the sixth inning when Toronto shortstop Bo Bichette hit a sacrifice fly to score Kansas City's Salvador Perez, who had singled after entering the game in place of designated hitter Shohei Ohtani. Perez was moved to third on a double by Oakland's Brent Rooker off Cincinnati closer Alexis Diaz.

The AL took the first lead of the game when Tampa Bay's Yandy Diaz opened the scoring with a 383-foot home run to left field off Pittsburgh's Mitch Keller in the second inning.

The NL evened the score when Miami's Luis Arraez, the league's batting leader, singled home the Dodgers' J.D. Martinez, who had opened the top of the fourth inning with a double off Seattle right-hander George Kirby. Kirby, who was named to his first All-Star Game as an alternate, was bailed out of further potential trouble when Arraez was caught stealing on a call that was overturned following a challenge by AL manager Dusty Baker.

Starting pitchers Gerrit Cole of the New York Yankees and Zac Gallen of the Pittsburgh Pirates both pitched scoreless innings, but they accomplished the feats in different manners.

Cole, starting for the AL in his sixth All-Star Game, was taken to the wall twice. The first was by Atlanta's Ronald Acuna Jr., whose deep shot to right field on the second pitch of the game was snagged on a jump by Texas' Aroldis Garcia.

Not to be outdone one batter later, Tampa Bay's Randy Arozarena made a leaping catch against the left-field wall to rob the Dodgers' Freddie Freeman.

Gallen had a far less eventful time in the bottom of the inning. He retired his first two batters before giving up a single to Arozarena, who was promptly thrown out attempting to steal by Atlanta catcher Sean Murphy.

More must-reads:

TODAY'S BEST
Dodgers make series of moves involving notable players
Giants rookie CF to undergo season-ending labrum surgery
Hurricanes not expected to re-sign defenseman, center
Paul Skenes makes incredible Wrigley Field history in second-career MLB start
Maple Leafs tab former Stanley Cup winner as new head coach
NFL insider expands on competition between Steelers QBs Russell Wilson, Justin Fields
NFL sets outrageous prices for Eagles-Packers Brazil game
Scottie Scheffler shoots improbable 66 after warming up for PGA Championship in a jail cell
Nuggets star has worrying comment about latest injury
Broncos 'very unlikely' to bring back former NFL interceptions leader
Greg Olsen offers broadcasting advice to Tom Brady
Yankees' Juan Soto reacts to Hal Steinbrenner contract talk
Mets star has theory about closer Edwin Diaz's recent struggles
Scottie Scheffler arrested, still makes PGA Championship tee time
Timberwolves chew up Nuggets to force Game 7
Rangers secure spot in conference finals after stunning third-period comeback over Hurricanes
Xander Schauffele makes history in first round of PGA Championship
Yankees' Hal Steinbrenner shares massive Juan Soto contract update
Steelers' Cameron Heyward addresses contract holdout
Knicks star ruled out for potential closeout game