Matt Garza knew his fellow starting pitchers had set the bar high during the first two games of Milwaukee's three-game series with Baltimore.

The former Twin continued the trend of strong starts by pitching into the seventh inning to lift the Brewers to a sweep of the Orioles with a 4-0 victory Wednesday night at Miller Park.

Garza scattered five hits with two walks and four strikeouts over 6⅓ innings for his first scoreless outing of the season.

Oliver Drake, Jared Hughes and Corey Knebel completed the shutout with 2⅔ innings.

"Certainly, that was the key to the series," Brewers manager Craig Counsell said. "Our starters did an outstanding job. We basically pitched with a lead the entire series."

Garza (4-4) ran into trouble in the second inning after the Orioles loaded the bases with no outs. The veteran righthander escaped by striking out Ruben Tejada and pitcher Jayson Aquino (1-2) before getting Seth Smith to fly out to right field.

"It was a big momentum shift for us," Garza said. "It was awesome. I was able to sneak out of it. I really took off from there. I got my mechanics back in order in the third and I felt like I was in control from there on out."

San Diego 6, Cleveland 2: Cory Spangenberg hit a two-run homer, Luis Perdomo won his third straight start and the Padres got another road victory.

San Francisco 5, Detroit 4: Ty Blach took a shutout into the seventh inning, as the Giants beat the host Tigers.

Houston 10, Atlanta 4: George Springer drove in the go-ahead run in the seventh inning, Josh Reddick and Marwin Gonzalez each had three RBI and the streaking Houston Astros beat the host Braves.

Chicago 7, Tampa Bay 3: Jon Jay connected for his third career pinch-hit homer, helping the host Cubs rally to beat the Rays.

American League

Oakland 7, Chicago 4: Sonny Gray pitched six mostly sharp innings for the host Athletics, helping them to beat the White Sox for the second time in two weeks.

Toronto 7, N.Y. Yankees 6: Dellin Betances forced in the go-ahead run with four walks in the eighth, and the Blue Jays beat the host Yankees after conceding a five-run lead.

Texas 8, Boston 2: Andrew Cashner pitched seven shutout innings, leading the host Rangers past the Red Sox.

National League

Colorado 5, Cincinnati 3: Jon Gray hit his first career homer an estimated 467 feet — the farthest by any Rockies player this season — and pitched effectively into the sixth inning as the host Rockies beat the Reds.

Miami 9, St. Louis 6: Giancarlo Stanton homered twice, recording his 22nd career multihomer game, and Marcell Ozuna and Justin Bour also hit home runs as the visiting Marlins beat the Cardinals.

Pittsburgh 5, Philadelphia 2: Gerrit Cole pitched six strong innings and hit a tiebreaking two-run single to lead the visiting Pirates past the Phillies.

N.Y. Mets at Washington: The series finale was postponed because of rain. No makeup date was immediately announced.

Notes

•Defending champion Giancarlo Stanton will be the top seed in the Home Run Derby Monday at his home ballpark in Miami. He will face Yankees catcher Gary Sanchez, the No. 8 seed, in the opening round. Yankees rookie Aaron Judge is the No. 2 seed and will square off against seventh-seeded Justin Bour of the Marlins.

Another rookie, No. 3 seed Cody Bellinger of the Dodgers, is paired with sixth-seeded Charlie Blackmon of Colorado. No. 4 seed Mike Moustakas from the Royals is matched against Twins slugger Miguel Sano, the fifth seed.

•Gene Conley, one of the only players in history to win championships in two major professional sports, died Tuesday. He was 86. Conley helped pitch the Milwaukee Braves to a World Series championship in 1957 and won three NBA titles with the Celtics.

•Indians manager Terry Francona remains hospitalized and will miss his second consecutive game. The 58-year-old Francona has been at the Cleveland Clinic since Tuesday.