PITTSBURGH — The Pittsburgh Pirates closed their series against the St. Louis Cardinals the same way they began it — with a walkoff win.
Adam Frazier's game-ending single capped a two-run rally in the ninth inning that lifted Pittsburgh to a 4-3 victory Sunday.
Francisco Cervelli reached on an infield single leading off the ninth against Brett Cecil (1-3), and Jordy Mercer's one-out double scored pinch-runner Josh Harrison with the tying run. Jose Osuna grounded out, David Freese was intentionally walked and Frazier lined a single to center.
Frazier's hit was the first walkoff hit of his career and it came just two days after Josh Bell got his first with a three-run homer in the ninth off Seung Hwan Oh.
"We hung around," Pirates manager Clint Hurdle said. "We gave up two leads, battled back and had a nice, strong ninth inning with some good at-bats. I'm proud of the men and I'm proud of the fight."
Wade LeBlanc (4-2) pitched a hitless ninth. Pirates starter Trevor Williams gave up two runs and 10 hits in 52/3 innings.
Yadier Molina had put St. Louis ahead 3-2 with an eighth inning home run, the first allowed by Juan Nicasio this year.
"I think it's been like that all year," Frazier said. "We went through some adversity. It's just fighting until the last out."
Cardinals starter Carlos Martinez (7-8) allowed two runs and five hits in seven innings, and had an RBI single in the sixth.
Andrew McCutchen's run-scoring single put Pittsburgh ahead in the fifth, and Matt Carpenter's RBI double tied the score in the fifth.
Max Moroff hit his first big league home run for the Pirates, a line drive off the right-field foul pole in the fifth. Moroff had 18 homer runs this season with Triple-A Indianapolis but was 4-for-48 in the majors.
"I hit the ball on the barrel for the first time in a while," he said.
Williams had started his MLB career 0-for-21 before his single to right in the third.
Cardinals rookie Magneuris Sierra, brought back Saturday from Triple-A, had four hits, stole a base and scored a run. He has reached safely in nine straight games to start his big league career, the first Cardinals player to accomplish the feat.
Three of the hits never left the infield.
"I'm definitely aware that my speed can cause the other team some damage and help my team," he said through a translator. "As soon as I make contact, I really take advantage of the opportunity to get on base."
Notes: Cardinals RHP Adam Wainwright (10-5, 5.20 ERA) is to start tonight at the New York Mets. He is 8-2 in his last 11 starts, winning his last three. Pirates RHP Chad Kuhl (3-6, 4.96 ERA) is slated to open at series at home against Milwaukee. He is 2-0 in five starts since a June 14 loss to Colorado.