Erik Williams-USA TODAY Sports

Mauricio Dubon delivered a walk-off RBI single Wednesday afternoon for the host Houston Astros, who maintained their share of first place in the American League West by earning a come-from-behind 2-1 win over the Baltimore Orioles.

The Astros (85-68) salvaged the finale of the three-game series shortly after the AL West's co-leaders, the Texas Rangers, routed the Boston Red Sox 15-5 earlier in the day.

The AL East-leading Orioles (95-57) had their four-game winning streak snapped. Baltimore entered Wednesday 2 1/2 games ahead of the Tampa Bay Rays.

Houston needed just six pitches to score the winning run off Danny Coulombe (5-2) in the bottom of the ninth. Yainer Diaz doubled on Coulombe's first pitch and moved to third when Chas McCormick grounded out to second. Dubon singled to right on the next pitch.

Ryan Pressly (4-5) threw a perfect top of the ninth to earn the win for Houston.

Orioles starter Kyle Bradish struck out nine and allowed just two hits over six scoreless innings. Reliever Jacob Webb tossed a perfect seventh before the Astros scored the tying run in the eighth. Shintaro Fujinami walked two of the three batters he faced and Jeremy Pena's double off Michael Baumann scored Dubon.

Astros starter Cristian Javier allowed one run on three hits and two walks while striking out 11 over five innings. The strikeouts tied a season high for Javier, who also whiffed 11 against the Los Angeles Angels on May 10.

The Orioles scored their lone run in the first, when Adley Rutschman doubled with one out and came home on Anthony Santander's single. Javier retired 14 of the last 17 batters he faced.

Santander had two hits and a stolen base.

Bradish issued two walks while throwing at least six scoreless innings for the fifth time this season. He lowered his ERA to 3.01, the third-lowest mark in the AL.

More must-reads:

TODAY'S BEST
Key Knicks forward ruled out for Game 7 vs. Pacers
Pacers' Pascal Siakam leads team to Game 6 win vs. Knicks
Watch: Matt Duchene's 2OT winner sends Stars to conference final
Scottie Scheffler shoots improbable 66 after warming up for PGA Championship in a jail cell
Report: Tua Tagovailoa away from Dolphins amid contract chatter
Nuggets star has worrying comment about latest injury
Paul Skenes makes incredible Wrigley Field history in second-career MLB start
Giants rookie CF to undergo season-ending labrum surgery
Yankees' Juan Soto reacts to Hal Steinbrenner contract talk
Late goal sends Panthers to Eastern Conference Finals
Ex-teammate of Shohei Ohtani placed bets with same illegal bookmaker as interpreter 
Former Rams first-round pick retires from NFL after 11 seasons
Insider provides major injury update on Celtics' Kristaps Porzingis
Watch: Bruins strike first in Game 6 with incredible backhand goal
Dodgers make series of moves involving notable players
Hurricanes not expected to re-sign defenseman, center
Maple Leafs tab former Stanley Cup winner as new head coach
NFL insider expands on competition between Steelers QBs Russell Wilson, Justin Fields
NFL sets outrageous prices for Eagles-Packers Brazil game
Broncos 'very unlikely' to bring back former NFL interceptions leader