BALTIMORE -- Using their own brand of baseball, the St. Louis Cardinals showed power-hitting Baltimore they can score a bunch of runs, too.
Rookie Kolten Wong had four hits and scored twice, Peter Bourjos homered and St. Louis beat the Orioles 8-3 Sunday to avoid a three-game sweep.
After allowing nine home runs in losing the first two games of the series by a collective 22-5 score, the Cardinals amassed a season-high 17 hits -- 14 of them singles.
St. Louis came into the game with 80 home runs compared to 147 for Baltimore, but the Cardinals' style of little ball produced a big win.
"We walked in here today and that's all the conversation was, we've got to win this, we've got to figure out a way to get this one," manager Mike Matheny said. "We felt good about what our offense could do. The guys, they were taking good at-bats all day long. We got a couple big hits when we needed them; that's usually the difference."
Bourjos capped the barrage with a three-run drive in the ninth off Zach Britton, ending the left-hander's run of 27 straight scoreless appearances at home.
The additional runs seemed to be unnecessary, but against the Orioles it's hard to determine how much offense is enough.
"We saw what they can do the last couple nights and we had to keep pushing to keep pace with them and keep the lead," third baseman Daniel Descalso said.
Wong's four hits, all of them singles, matched a career high and lifted his batting average 11 points to .253.
St. Louis right-hander Lance Lynn (12-8) gave up three runs and nine hits over 5 2/3 innings, only the second time in his last 12 starts that he allowed more than two runs.
"They've got some guys that can hit the ball all the way up and down the lineup, and I knew that going in today it was going to be a grind," Lynn said. "I was able to make enough pitches when I needed to and get out of some jams."
Nick Markakis had four hits for the Orioles, who went 2 for 13 with runners in scoring position. Caleb Joseph's streak of consecutive games with a home run ended at five, one short of the club record.
Orioles manager Buck Showalter was ejected after a replay overturned an out call on a force play in the top of the seventh. His first ejection of the season was automatic after he came out to argue the result of a replay.
Baltimore starter Kevin Gausman (6-4) allowed three runs and eight hits in five innings.
"I like that he didn't let the game get away from him completely," Showalter said. "A lot of borderline pitches. It wasn't like he imploded."
The AL East-leading Orioles next host the New York Yankees for a three-game series that begins Monday night. New York trails by six games.
"We don't really look at it quite the way everybody else does," Showalter said. "It's significant because they're one of the teams we've got to be better than when the smoke clears."
St. Louis went up 4-2 in the sixth on an RBI single by Descalso, but Markakis matched that in the bottom half with a run-scoring single.
27,779 (60.4% full) - % is based on regular season capacity
84 degrees, partly cloudy
Home Plate - Gabe Morales, First Base - Mark Carlson, Second Base - Jeff Nelson, Third Base - Laz Diaz
Orioles hitters have slugged .472 this season in at-bats to end in a fastball, the second-best rate in baseball. Lance Lynn has thrown the second-highest percentage of fastballs among qualified pitchers this season (79 percent).