MIAMI – For nearly the entirety of the evening, it looked like the Pirates were well on their way to their 11th straight loss.

Marlins starter Jesus Luzardo had produced seven scoreless innings and a second straight evening against a tough lefty closer in A.J. Puk loomed with the Pirates trailing 1-0 heading into the ninth. Then, the Pirates turned back the clock to April.

Courtesy of five singles and three swiped bags, including two on a daring double steal with one out, the Pirates roared back to a 3-1 victory Friday night at loanDepot Park to halt the season-long losing streak at 10 games. Pirates manager Derek Shelton commended the group, which started the ninth with a flare single from pinch-hitter Josh Palacios, for keeping the faith in the final frame.

“When you're in the midst of a losing streak and you get down, especially when you get down in the ninth and you get a closer, it's really easy to go up and give away at-bats, and we didn't,” Shelton said. “Palacios with a good at-bat, and then we're able to manufacture the way we've done. We're able to run and do some things.”

Advertise with us

After Palacios’ well-placed single, Andrew McCutchen legged out an infield single and moved into scoring position when trailing Palacios, who stole third with one away during Connor Joe’s ensuing at-bat. Palacios credited first base coach Tarrik Brock for getting him prepared for the high-risk gamble that proved worthwhile.

Joe drove in Palacios with a sharp ground ball to short and Carlos Santana then plated the winning run with a two-out single up the middle to drive home McCutchen. The 37-year-old Santana roped a Puk fastball down the pipe after getting down to his last strike in a 2-2 count.

“I like that moment, a lot of pressure, I like it,” Santana said of his game-winning hit. “I'm keeping focus for that, especially tonight, two outs, ninth inning, game tied, 1-1 and then getting a hit. I like that."

Tucupita Marcano added an insurance run, too, when singling home Santana after Henry Davis recorded a base knock of his own. It was then up to closer David Bednar, who hadn’t recorded a save since June 11, to shut the door after a roller coaster of a top of the inning.

"Once we got that first base hit, I was dialed in,” Bednar said. “I was like, 'We're going to make something happen here.' Willing it. I was definitely ready to go out, get the chance."

Advertise with us

Bednar was his usually stout self, retiring the Marlins’ threat in order. Then, it was time for the postgame theatrics in the clubhouse, which featured the “Bee Gees” on the team aux cord.

"That was a big one for us,” Bednar said. “To be down in the ninth and scratch together some runs, that was awesome. Just wanted to put the finishing touches on it."

Of course, the key now will be stringing together victories, a task that proved elusive after the Pirates’ second-longest losing streak of the season (seven games) came to an end when Mitch Keller threw a complete game shutout against the Rockies on May 8. For Shelton, the recipe is quite simple for the Pirates to maximize the momentum of the much-needed win.

"We have to get back to the way we played in the ninth, by creating opportunities that way,” Shelton said. “I think early in the year, we created opportunities by making sure we were moving, by putting the ball in play and maybe there's a bunt in there.

“I think the ninth inning today was why we had been successful early and why we have to get back to a little bit of that.”

Advertise with us

ON THE MOUND

The Pirates were of course in position to come back from just a one-run deficit because of the tremendous work on the mound from starter Luiz Ortiz, who set a new career-high for innings, yielding only a single earned run that came in his first inning of work.

It originally appeared that Ortiz was in for a long night, considering he allowed three of the first four Marlins hitters he faced to reach on singles and walked the No. 5 hitter in Garrett Cooper. After issuing the free pass, pitching coach Oscar Marin came to the mound and helped settle Ortiz down.

From then on, Ortiz was masterful, allowing only six more baserunners the rest of the evening while inducing a trio of double plays.

"Obviously, I've got a lot of trust in myself,” Ortiz said with major league coach Stephen Morales translating. “All I did was trust my pitches to make sure I've located them good and the results were there.”

Advertise with us

The outing was easily Ortiz’s best start of the month and perhaps tops for his MLB career, although he also pointed to a 7 ⅔ inning, two-run outing against the vaunted Texas Rangers’ lineup in May as well. Ortiz, who struck out five while walking two, said the key will be for him to repeat such showings moving forward.

AT THE PLATE

Before the ninth inning, the Pirates had only produced two hits against Luzardo and set-up man Tanner Scott, one of which belonged to Davis. He was the only Pirate who had a multi-hit game, and he also walked in the seventh inning before swiping second base, good for his first career MLB stolen base.

Davis also made a leaping catch on a Bryan De La Cruz flyout to right field in the fifth, one which Ortiz appreciated from his vantage point on the bump. A night removed from his first big-league home run, though, it was Davis’ exploits at the plate once again that made him stand out as his batting average rose to .267 and his on-base percentage to .421.

“I think that's one of the things that's expedited his development, because we know he can control the zone,” Shelton said of Davis. “We know he knows the strike zone.”

Advertise with us

QUOTABLE

“I think Oscar had a pretty firm conversation with him, which may be the best mound visit I've ever seen,” Shelton said of Marin’s first-inning mound visit with Ortiz.” One pitch double-play. From then, he was in control.”

UP NEXT

Osvaldo Bido will make his third career MLB start Saturday afternoon for the Pirates. Bryan Hoeing gets the ball for the Marlins.

Andrew Destin: adestin@post-gazette.com and Twitter @AndrewDestin1.