ST. LOUIS — The Pittsburgh Pirates broke out of an offensive slump in emphatic fashion Saturday, riding home runs from Rafael Flores Jr. and Brandon Lowe to a 6-2 victory over the St. Louis Cardinals at Busch Stadium.

Flores Jr. delivered the decisive blow in the fifth inning, crushing a 3-2 slider from reliever Evan Sisk into the left-field bleachers for a three-run homer that extended Pittsburgh's lead to 5-1. The blast was a welcome sight for a Pirates offense that had scored just eight runs in its previous six games entering Saturday.

Brandon Lowe got the scoring started in the first inning, launching a solo home run with one out off Cardinals rookie Brycen Mautz. Lowe's shot gave Pittsburgh an early 1-0 lead, setting the tone for a much-needed offensive outburst.

Mautz, making his major league debut, showed flashes of brilliance despite the loss. The left-hander struck out eight batters over three innings but surrendered four runs on five hits and a walk. He was lifted after the third inning, having thrown 69 pitches.

Carmen Mlodzinski (7-6) was the most effective of six Pirates pitchers used in the game. The right-hander entered in the fourth inning and worked 3 1/3 innings, allowing just one run on one hit while striking out three. His performance stabilized a game that had seen Pittsburgh's bullpen taxed early.

The Cardinals' first run came in the third inning on a solo home run by rookie Joshua Baez. Baez jumped on an 0-1 slider from Pirates reliever Evan Sisk and sent it into the left-field seats. The homer was Baez's first at Busch Stadium, adding to his remarkable rookie season. He made history on Aug. 15 in Chicago when he homered in each of his first three major league at-bats.

Pittsburgh took a 2-1 lead in the fourth inning in a bizarre sequence. Jake Mangum singled to left field, but rookie outfielder Joshua Baez misplayed the ball and then failed to hustle after it. Mangum raced to third base and was initially ruled out, but the Pirates challenged the call and it was overturned. Mautz then allowed a run-scoring single to shortstop Jocob Gonzalez, giving Pittsburgh a 2-1 advantage.

The Pirates added to their lead in the fifth on Flores Jr.'s three-run homer. The inning was aided by a walk and a single before the big blast.

Defensive miscues continued to plague both teams. The Cardinals committed three consecutive errors in the sixth inning, leading to a run for St. Louis. With one out, shortstop Jocob Gonzalez booted two grounders, and center fielder Oneil Cruz then misplayed a routine fly ball, allowing the Cardinals to score an unearned run. The Pirates themselves made three errors in Friday's game, highlighting ongoing defensive issues for Pittsburgh.

Six Pittsburgh pitchers combined to hold the Cardinals to just three hits on the afternoon. The bullpen, featuring Mlodzinski, Sisk, and others, effectively shut down St. Louis after Baez's early home run.

Before the game, the Cardinals designated reliever Caleb Ferguson for assignment and recalled Mautz from Triple-A. The move was part of roster shuffling as St. Louis looks to evaluate younger arms down the stretch.

The series concludes Sunday afternoon with a matchup between Cardinals left-hander Matthew Liberatore (5-12, 5.44 ERA) and Pirates right-hander Braxton Ashcraft (13-5, 3.59 ERA). Both teams will look to gain momentum heading into the final weeks of the season.