SAN DIEGO (AP)Trent Grisham hit a two-run walkoff homer in the 10th inning and the San Diego Padres, who have struggled offensively, beat the Pittsburgh Pirates 4-2 on Sunday to take two of three.

Grisham drove a 2-0 pitch from Chris Stratton (2-2) off the right-field foul pole to bring in automatic runner Jorge Alfaro. It was the second career walkoff homer by Grisham.

Luis Garcia (4-2) got the win for the Padres.

Alfaro, the catcher, made a huge play to end the top of the 10th. Pirates automatic runner Hoy Park, called up earlier in the day from Triple-A, broke for home on a wild pitch to the backstop, but Alfaro played the carom perfectly and dived to tag out Park.

Padres rookie lefty MacKenzie Gore pitched seven scoreless innings before the Pirates broke through against Nabil Crismatt to tie it at 2-2 in the eighth.

METS 5, PHILLIES 4, 10 INNINGS

NEW YORK (AP) – Nick Plummer launched a tying homer in the ninth inning for his first major league hit, Eduardo Escobar doubled home the winning run in the 10th and New York beat Philadelphia for a three-game sweep.

Nick Castellanos put Philadelphia ahead 4-3 with a three-run homer on an 0-2 pitch from reliever Adam Ottavino with two outs in the eighth.

Plummer, making his first major league start after getting recalled from the minors Saturday, drove the first pitch from Corey Knebel (1-4) – a 96 mph fastball – into the second deck in right field leading off the bottom of the ninth. It was Knebel’s third blown save in 11 opportunities.

Edwin Diaz (2-1) stranded the automatic runner at second in the 10th. He was aided by a terrific defensive play at third base from Escobar, who reached way over the railing of the Philadelphia dugout to catch a foul pop.

BLUE JAYS 11, ANGELS 10

LOS ANGELES (AP) – Lourdes Gurriel Jr. doubled home the tiebreaking run in the eighth inning for his season-high fifth RBI, and Toronto overcame two homers by Shohei Ohtani to complete a four-game sweep of Los Angeles.

Raimel Tapia added three RBIs and Bo Bichette hit a tying homer in the eighth for Toronto, which capped its first four-game sweep of the Angels in 30 years with its highest-scoring performance of the season.

Toronto blew a four-run lead and Los Angeles squandered a three-run lead in a wild game featuring 25 combined hits and highlighted early on by Ohtani’s latest power display. Ohtani hit a solo homer in the first inning and a two-run shot in the third for his ninth career multi-homer game. The AL MVP has seven homers in May and 11 this season.

Taylor Ward had a two-run homer and an RBI double for the Angels, who have lost a season-high five straight and nine of 12 after their perpetually poor pitching staff’s latest struggles.

Adam Cimber (6-2) got the win for Toronto, while Jose Quijada (0-1), who hadn’t pitched in the majors since April 7, took the loss. David Phelps pitched the ninth for his first save since 2019.

BRAVES 6, MARLINS 3

ATLANTA (AP) – Marcell Ozuna hit two home runs as part of Atlanta’s barrage of extra-base hits in its win over Miami, giving the Braves their first winning homestand of the season.

Of the Braves’ 11 hits, nine were for extra bases, including six doubles. Ozuna’s second homer of the game, his 10th of the season, traveled 458 feet into the upper left-field seats in the third.

Austin Riley had two hits, including a homer, and drove in two runs for Atlanta. Ozuna and Riley hit back-to-back homers off Elieser Hernandez in the first inning. Ozzie Albies and William Contreras hit back-to-back doubles to produce a run in the second.

Miami’s Jorge Soler provided all of the team’s runs by hitting two homers. Max Fried (5-2) gave up the first of those in the first inning before posting five consecutive scoreless innings. Kenley Jansen had two strikeouts in the ninth for his 12th save with Atlanta.

Hernandez (2-5) allowed four runs in four innings.

WHITE SOX 5, CUBS 4, 12 INNINGS

CHICAGO (AP) – Jake Burger atoned for a costly error with a game-ending RBI single in the 12th inning, and the banged-up Chicago White Sox topped the Cubs in a wild finale to the season series between the crosstown rivals.

Danny Mendick opened the White Sox’s 12th as the automatic runner and advanced on Andrew Vaughn’s grounder to second against Robert Gsellman (0-2). Burger then drove Gsellman’s next pitch into left for the winning hit.

Matt Foster (1-0) worked a scoreless 12th, helping the White Sox to a sorely needed victory after they lost shortstop Tim Anderson to a right groin strain in the fifth.

The White Sox looked as if they had won the game in the 11th after pinch-hitter Leury Garcia attempted a sacrifice, and Gsellman’s throw got away from first baseman Alfonso Rivas. But Garcia was called out for interference and Adam Engel was sent back to second.

The Cubs opened a 3-1 lead with two runs in the 10th, and the White Sox responded with two runs in the bottom half of the 10th. The Cubs scored again in the 11th, but the White Sox tied it back up.

The Cubs wasted a terrific start by Marcus Stroman, who pitched seven innings of three-hit ball.

Dylan Cease allowed two hits, struck out five and walked four in seven innings for the White Sox.

ASTROS 2, MARINERS 1

SEATTLE (AP) – Ryan Pressly got Luis Torrens to ground into a game-ending double play with the bases loaded in the ninth inning, preserving Houston’s win over Seattle.

Yordan Alvarez broke an eighth-inning tie with a two-out bases-loaded single off Paul Sewald, who had relieved Marco Gonzales (3-5).

Pressly walked J.P. Crawford leading off the ninth, threw a called third strike past Eugenio Suarez and walked Mike Ford, loading the bases. Torrens grounded Pressly’s third straight slider to third baseman Alex Bregman, starting a 5-4-3 double play and giving Pressly his eighth save in 10 chances.

Jeremy Pena hit a second-inning home run, giving Houston its first lead of the series. Ty France had a tying single in the sixth.

Gonzales allowed two runs and five hits in 7 1/3 innings. Rafael Montero (2-0) relieved Gonzales with two on and no outs in the seventh.

ATHLETICS 6, RANGERS 5

OAKLAND, Calif. (AP) – Jed Lowrie hit a two-out RBI single off Brett Martin in the bottom of the ninth inning, lifting Oakland past mistake-prone Texas.

After closer Dany Jimenez blew a save opportunity in the top of the ninth, the A’s came back and won in their final at-bat for the second time this season.

Cristian Pache hit a leadoff single off of Martin (0-4), then Tony Kemp popped out and Ramon Laureano grounded out to move Pache to second. Lowrie, who struck out in his first two at-bats and was 1 for 5, lined a 2-2 pitch into left-center and Charlie Culberson’s throw home sailed over the head of catcher Jonah Heim.

Corey Seager homered for the second consecutive day for the Rangers, who matched their season-high of five errors.

Jimenez (2-2) skipped a two-out pitch between the legs of catcher Sean Murphy, allowing Marcus Semien to score the tying run in the ninth.

DODGERS 3, DIAMONDBACKS 1

PHOENIX (AP) – Tyler Anderson threw six effective innings, Will Smith added a solo homer and Los Angeles swept a four-game series from Arizona.

Anderson (6-0) continued his streak of great pitching, giving the Dodgers’ rotation a much-needed lift after injuries to Clayton Kershaw and Andrew Heaney. The veteran left-hander scattered five hits and has given up just two earned runs over his last 21 innings, spanning three starts that all ended in wins.

Smith pushed the Dodgers ahead 1-0 in the second, driving the 12th pitch of the at-bat into the Chase Field swimming pool that sits just behind the right-center field wall.

The Dodgers – who won despite just four hits – added two more runs in the third on Freddie Freeman’s RBI single and Trea Turner’s RBI groundout.

Craig Kimbrel gave up a run in the ninth but still recorded his 10th save.

Zach Davies (2-3) took the loss, giving up three earned runs over 5 1/3 innings. David Peralta drove in the D-backs’ lone run with a pinch-hit triple in the ninth.

RED SOX 12, ORIOLES 2

BOSTON (AP) – Bobby Dalbec hit a two-run homer, one of Boston’s season-high five longballs, and the Red Sox coasted over Baltimore.

Rafael Devers, Kike Hernandez, Franchy Cordero and Christian Arroyo each hit a solo drive for the Red Sox, who posted their ninth win in 12 games.

All five Boston home runs came in four innings against Bruce Zimmermann (2-3), who was tagged for six runs and eight hits. He allowed a previous career-high four homers in his last start Tuesday at Yankee Stadium.

Jake Pivetta (4-4) gave up one run on five hits in six innings, improving to 4-0 with a 1.59 ERA in his last five starts.

Trey Mancini had three hits for the Orioles, who have lost four of six.

TWINS 7, ROYALS 3

MINNEAPOLIS (AP) – Sonny Gray cruised before leaving in the seventh inning because of right pectoral soreness, and Minnesota beat Kansas City behind Gio Urshela’s three-run homer.

Gray (3-1) allowed two hits and retired 14 in a row before Andrew Benintendi’s single leading off the seventh.

With a 3-1 count on Bobby Witt Jr. and Kansas City asking for a video review to try to get a hit batter call, Twins manager Rocco Baldelli and athletic trainer came to the mound as Gray appeared to be trying to stretch a muscle near his pitching shoulder. Gray was replaced by Griffin Jax, who struck out Witt and allowed MJ Melendez’s RBI double.

Nick Gordon and Trevor Larnach hit the Twins’ first consecutive solo homers of the season in the fourth.

Zack Greinke (0-4) gave up five runs, six hits and two walks in four innings. Manager Mike Matheny said his pitcher had elbow/flexor pain.

GIANTS 6, REDS 4

CINCINNATI (AP) – Evan Longoria hit his fourth home run in four games, a go-ahead, three-run drive in a six-run eighth inning, to lift San Francisco over Cincinnati and avoid a three-game sweep.

Tyler Mahle took a no-hit bid into the seventh and Cincinnati led 2-0 in the eighth when Tommy La Stella doubled off Jeff Hoffman with one out, Wilmer Flores walked with two outs and Joc Pederson slapped a run-scoring single to right.

Art Warren (2-2) relieved, and Longoria reached down for a a full-count fastball on the outside corner and drove it to the opposite field in right.

Brandon Crawford walked, Thairo Estrada singled, Joel Kuhnel relieved and Luis Gonzalez doubled in two runs for a 6-2 lead.

Alex Cobb allowed the two runs and four hits in six innings with eight strikeouts. John Brebbia (3-0), the second of three relievers, pitched a one-hit seventh and helped drop NL-worst Cincinnati to 16-31.

Mahle pitched 6 2/3 innings, his longest outing since Aug. 29.

NATIONALS 6, ROCKIES 5

WASHINGTON (AP) – Juan Soto snapped a 15-game home run drought with a two-run shot, Tanner Rainey got the final five outs and Washington held off Colorado.

Soto, who hadn’t homered since May 12 against the Mets, added a double and a walk for the Nationals, who took three of four from the Rockies. Lane Thomas had a two-run homer.

Rockies starter Kyle Freeland (1-5) exited with an apparent left leg injury with two outs in the sixth inning. Freeland, who was helped off the field, was charged with five runs on seven hits. He walked four and struck out two.

After pulling within 6-3 in the seventh, the Rockies got RBI singles from Brendan Rodgers and Sam Hilliard with one out in the eighth against Kyle Finnegan. With runners on first and third, Nationals closer Rainey struck out Elias Diaz and Charlie Blackmon.

Rainey finished with a 1-2-3 ninth for his fifth save.

Nationals starter Josiah Gray (5-4) worked around three hits and four walks to allow one run over five innings.

RAYS 4, YANKEES 2

ST. PETERSBURG, Fla. (AP) – Taylor Walls and Ji-man Choi homered for Tampa Bay’s only hits, and the Rays scored two runs in the seventh inning on four walks and a hit batter in a 4-2 win over New York.

Walls, in a 1-for-34 slide, homered on a 3-1 fastball from Luis Severino (3-1) for a 2-1 lead in the fifth and then made an outstanding defensive play to end the eighth inning.

Gleyber Torres had three hits, including a second-inning home run against Shane McClanahan (5-2). It was Torres’ ninth home run of the season.

Aaron Judge hit his major league-leading 18th home run, a drive off Colin Poche in the eighth.

J.P. Feyereisen pitched a perfect ninth for his first save this season in two chances.

TIGERS 2, GUARDIANS 1

DETROIT (AP) – Harold Castro homered for the third time in three games and Jeimer Candelario also connected in Detroit’s win over Cleveland.

Detroit won despite getting just four hits. The Tigers beat Cleveland for just the seventh time in their last 28 games at Comerica Park.

Tigers starter Elvin Rodriguez pitched four scoreless innings, allowing two hits in his second major league start. He struck out four and walked none before exiting with lower-body cramping. Gregory Soto, the sixth Detroit pitcher, worked around a two-out single and closed for his eighth save.

Luke Maile drove in Cleveland’s lone run in the seventh inning with a sacrifice fly that scored Andres Gimenez. Castro homered in the fourth off Triston McKenzie (3-4).

BREWERS 8, CARDINALS 0

ST. LOUIS (AP) – Corbin Burnes tossed seven shutout innings and Jace Peterson hit a three-run homer to lead Milwaukee over St. Louis.

Lorenzo Cain and Rowdy Tellez also homered for the Brewers, who have won four of six and stretched their road record to 13-10.

Burnes (3-2), the reigning NL Cy Young Award winner, passed the 10-strikeout mark for the fourth game in a row with 11 and allowed only two hits – the first being a double from Juan Yepez in the fourth.

Miles Mikolas (3-3) gave up six earned runs on nine hits over 5 2/3 innings.

St. Louis’ Paul Goldschmidt extended his hitting streak to 20 games with a single in the ninth inning. He has reached base safely in a career-best 34 consecutive games.

More AP MLB: https://apnews.com/hub/MLB and https://twitter.com/AP-Sports