Tommy Pham's second solo homer off Hector Neris in the ninth inning tied it and the St. Louis Cardinals came back from a 5-0 deficit to beat the Philadelphia Phillies 7-6 in 10 innings Wednesday night.
Jedd Gyorko hit a two-run homer and pinch-hitter Jose Martinez also connected for St. Louis.
The game went to extra innings after Freddy Galvis lined a double down the left-field line with two outs in the bottom of the ninth, but Odubel Herrera ran through a stop sign, around third-base coach Juan Samuel and was thrown out by 10 feet. He didn't even attempt to slide and was pulled from the game in a double switch.
Martinez led off the 10th with a double to right off Edubray Ramos (0-6). He advanced to third on a balk and scored when Ramos made a throwing error on a pickoff attempt at first base after Dexter Fowler was intentionally walked. Yadier Molina added an RBI single.
Phillies starter Nick Pivetta had a career-high 10 strikeouts and allowed three runs and four hits in six innings. The rookie right-hander fanned nine in seven scoreless innings in his previous outing against Boston - also a no-decision. The Cardinals won their second straight extra-inning game after losing five of six.
The Phillies have lost 13 of 14 and 39 of 50. They have the worst record in the majors (22-48).
Cardinals starter Michael Wacha gave up five runs - two earned - and nine hits in four innings. Brett Cecil (1-2) got two outs to earn the win. Seung Hwan Oh allowed a run but finished for his 16th save in 18 tries.
The Phillies jumped ahead 3-0 in the first inning. The runs were unearned because of a fielding error by second baseman Greg Garcia.
After Garcia booted a double-play grounder, Maikel Franco drove in the first run with a fielder's choice grounder and Herrera ripped a two-run double to right-center.
Garcia made a throwing error in the fourth that allowed another run as the Phillies took a 5-0 lead.
Pham hit his eighth homer in the fifth. Gyorko went deep in the sixth for his 11th homer. Martinez hit one off Joaquin Benoit in the eighth to cut it to 5-4. Pham drove one out to straightaway center to tie it in the ninth.
Fowler left the game with left quad tightness after scoring from second base on a single for the seventh run.
Carlos Martinez (6-5, 2.86 ERA) starts the series finale Thursday afternoon. He's 3-0 with 20 strikeouts in 23 innings in three starts vs. the Philadelphia.
Aaron Nola (3-5, 4.76) goes against the Cardinals. He's 1-1 against them.
>>Padres Edge Cubs
Erick Aybar hit a tying home run in the sixth inning, Luis Torrens walked with the bases loaded against Koji Uehara in the eighth and the Padres stopped a three-game losing streak by beating the Chicago Cubs 3-2 on Wednesday.
Torrens, a rookie who started at catcher for the second straight game for the injured Austin Hedges, took a 3-1 fastball that sailed inside with two outs to force in the go-ahead run.
Uehara (2-4), the fifth of six Cubs relievers, replaced Pedro Strop starting the eighth and allowed singles to Wil Myers leading off and Cory Spangenberg with one out.
Aybar was intentionally walked, loading the bases, Matt Szczur fouled out and then the 21-year-old Torrens walked.
Chicago rookie Ian Happ hit a two-run homer in the fourth against reliever Craig Stammen, going deep for the second straight game and third time in four. Happ is hitting just .221, but has gone deep 10 times.
Phil Maton (1-0), the third of five Padres relievers, pitched a scoreless seventh for his first major league win. Brandon Maurer got two outs for his 13th save in 15 chances.
Maton, a 24-year-old from Chatham, Illinois, was delighted with where he got the victory.
Miguel Diaz, making his third major league start, left with one out in the third inning because of a right forearm strain. He allowed one hit and a walk, then was replaced by Stammen.
Cubs starter Eddie Butler gave up one run, five hits and three walks in four-plus innings, leaving after Stammen doubled leading off the fifth and scored on Pirella's single.
Chicago's Anthony Rizzo went 0 for 4, stopping a career-high 14-game hitting streak. He failed to reach base in his opening at-bat for the first time since being moved the leadoff spot eight games earlier.
Kyle Schwarber went 0 for 3, dropping his average to .171. He missed Tuesday's game, a day after fouling a pitch off his right ankle on Monday.
Jake Arrieta (6-5, 4.64) is to open an 11-game tip Friday at Miami, which starts LHP Jeff Locke (0-2, 4.58). Arrieta has failed to finish the fifth inning in his last two starts, allowing seven runs, nine hits and five walks in nine innings.
>>Twins Double Up White Sox
Jose Berrios finished eight innings for a second straight start and Miguel Sano homered for the second consecutive game as the Twins beat the Chicago White Sox 4-2 on Wednesday night behind two of their brightest young stars.
Berrios struck out eight with just four hits and one walk against him.
Sano hit his 18th home run, tying the game to start a three-run third inning off a 3-0 fastball from David Holmberg (1-1) with an opposite-field drive to the second deck in right-center . The 24-year-old Sano, on a break from third base to serve as the designated hitter, is third in the AL with 52 RBIs.
Brandon Kintzler pitched a scoreless ninth inning for the second straight night, notching his 19th save in 22 opportunities. The Twins (36-33) improved to 7-3 against the White Sox this season, using their last-place rival for a much-needed lift following a four-game sweep here over the weekend by division-leading Cleveland.
AL batting leader Avisail Garcia put the White Sox in front with an RBI single in the first inning, and Adam Engel came home during a groundball double play in the third inning after a leadoff double.
Brian Dozier had an RBI double and Max Kepler added an RBI single, as they both joined Eduardo Escobar with two hits apiece. Ehire Adrianza drove in a run and had three of Minnesota's four steals.
Jose Quintana (3-8, 5.07 ERA) will take the mound on Thursday afternoon, coming off one of his best starts of what has been his worst of six major league seasons. Quintana, an All-Star in 2016, is 0-4 in his last five appearances against the Twins.
Nik Turley (0-1, 12.46 ERA) will take another turn in the rotation in the series finale, despite 17 hits, four walks and 12 runs allowed over 8 2/3 innings in his first two major league starts.
>>Russell's Wife Files For Divorce
Addison Russell's wife has filed for divorce nearly two weeks after the Chicago Cubs shortstop was accused of hitting her.
Melisa Reidy-Russell filed the divorce petition in Cook County last week, according to a filing provided by her attorney, Thomas T. Field, on Wednesday. She is seeking full custody of the couple's young son along with child and other support.
Earlier this month, Reidy-Russell posted a photo on her Instagram account with a caption suggesting her husband had been unfaithful to her. In another post, a user - described by Melisa as a close friend - made the accusation that Russell had "hit" his wife.
Russell has denied the allegation. A statement released by Field's communications firm said Reidy-Russell "has declined the invitation from Major League Baseball to be interviewed relative to social media postings and allegations of domestic violence."