Mitch Stringer-USA TODAY Sports

Jorge Mateo was hit by a pitch with the bases loaded in the bottom of the 10th inning to give the Baltimore Orioles a 7-6 victory against the visiting Texas Rangers on Monday afternoon.

The Orioles posted their final run without the ball leaving the infield, with an infield single and intentional walk coming before Matt Moore's wayward pitch ended the game as ghost runner Austin Hays scored.

Mateo, who was hit in the back of the left knee, was helped to first base by teammates in order to complete the victory.

Marcus Semien led off the ninth inning with a home run to put Texas ahead 6-5. Adley Rutschman's two-out double for the Orioles in the bottom of the inning knotted the score, knocking in pinch runner Ryan McKenna and forcing the extra frame.

Semien's 10th home run of the season marked his third hit of the game. The blast came off Jorge Perez, who was the fifth of six Baltimore pitchers used in the opener of the three-game series.

Mitch Garver's three-run home run capped a five-run fifth inning for the Rangers.

Cedric Mullins homered and doubled in a run for the Orioles, who returned home following a 5-5 road trip. Rougned Odor had three hits for Baltimore, which has won two straight following a four-game skid.

Joe Barlow pitched the ninth and failed to secure a save for the Rangers. Moore (3-1) took the loss after not retiring a batter.

Baltimore's Bryan Baker (3-3) pitched the 10th for the victory. Lopez appeared in his third game in four days and has allowed at least a run in each of those.

Orioles starter Dean Kremer made it through four innings unscathed. But he was touched for five runs and eight hits in 4 2/3 innings as Baltimore's 2-0 lead vanished.

The fifth-inning scoring began for Texas with Adolis Garcia's sacrifice fly and Nate Lowe's run-scoring single.

The 5-2 lead didn't last long. Mullins homered in the fifth and the Orioles pulled even in the sixth when first baseman Lowe's error with one out allowed two runs to score.

Texas starter Dane Dunning allowed five runs (three earned) on seven hits and one walk.

Baltimore began the scoring in the second inning on Jonathan Arauz's run-scoring single. The Orioles pushed the edge to 2-0 when Mullins had an RBI double in the third inning.

More must-reads:

TODAY'S BEST
Suns make big decision on head coach Frank Vogel
14-year-old phenom signs unprecedented MLS deal that includes future Man City transfer
Pacers coach claims officials are biased against 'small market' teams
Hall of Famer makes bold prediction about Russell Wilson, Steelers
49ers Hall of Fame CB Jimmy Johnson dies
Rams make surprising move with former team captain
NBA announces discipline for Bucks' Patrick Beverley
Hall of Fame RB defends Najee Harris after Steelers decline fifth-year option
Pacers file shocking number of questionable calls after Game 2 loss vs. Knicks
Former NBA star says Anthony Edwards becomes face of the NBA if Wolves knock off Nuggets
Hornets hire top Celtics assistant as next head coach
Maple Leafs fire HC Sheldon Keefe after another early playoff exit
Super Bowl champion discusses why Russell Wilson failed with Broncos
Colts LB Zaire Franklin calls out Texans, C.J. Stroud
Angels to acquire longtime Mets infielder from Braves
Giants sign former Pro Bowl wide receiver
Report reveals why the NBA did not suspend Jamal Murray
Pressure mounts on Nuggets as Nikola Jokic wins third MVP Award
Jalen Brunson shakes off injury to lift Knicks to Game 2 win
Panthers dominate Bruins to even series