Orlando Arcia hit a two-run single with two outs in the bottom of the ninth inning and the host Colorado Rockies rallied to beat the San Francisco Giants 8-7 on Thursday to snap a five-game losing streak.

With the Rockies trailing 7-5, Sam Hilliard walked with one out in the ninth against Randy Rodriguez (3-1) and Thairo Estrada hit what was ruled a double to left field to put runners on second and third. Ryan McMahon walked to load the bases. Brenton Doyle then hit a potential game-ending double-play grounder that was bobbled by Casey Schmitt, allowing a run to score and keeping the bases loaded.

Pinch-hitter Hunter Goodman struck out before Arcia delivered on a 3-2 pitch for the Rockies. Colorado improved to 13-55, tied for the worst start in the modern era with the 1932 Boston Red Sox.

Rangers 16, Twins 3: Josh Smith, Jake Burger and Wyatt Langford went deep in the first two innings and visiting Texas hit a season-high six home runs in a romp over Minnesota.

Evan Carter, Adolis Garcia and Sam Haggerty also homered as Texas scored 16 runs for the second time in three games. The Rangers beat Minnesota 16-4 on Tuesday night.

Patrick Corbin (4-5) allowed three runs in five-plus innings for his first victory since May 14, retiring 12 straight hitters at one point. He hasn’t allowed more than three earned runs in his dozen starts this season.

Mets 4, Nationals 3: Kodai Senga threw 5 2/3 scoreless innings before leaving with a hamstring strain in host New York’s win over Washington that completed a three-game sweep.

Senga (7-3) allowed one hit and one walk before getting hurt while making a leaping grab of Pete Alonso’s high throw on CJ Abrams’ grounder between first and second. The team announced after the game Senga was being placed on the injured list and is slated for an MRI today.

Jeff McNeil stayed hot with a three-run homer in the first for the Mets, who have won six straight to improve to an MLB-best 45-24. Brandon Nimmo homered off the right field foul pole in the fifth.

Tigers 4, Orioles 1: Tarik Skubal pitched seven shoutout innings, Parker Meadows hit a three-run homer and visiting Detroit beat Baltimore.

Dillon Dingler also homered for the Tigers, who rebounded from a 10-1 defeat on Wednesday night to win the deciding matchup of the three-game series.

Skubal (7-2) allowed three hits and permitted just one runner past second base. The lefty struck out six, walked two and lowered his ERA to a sparkling 1.99.

Brewers 6, Cardinals 0: Jacob Misiorowski pitched five no-hit innings before leaving his major league debut with cramping in his right calf and quadriceps as host Milwaukee defeated St. Louis.

Misiorowski (1-0) slipped on the front part of the mound after throwing his third pitch of the sixth. He was removed in favor of Nick Mears.

The 6-foot-7 right-hander finished his debut with five strikeouts and four walks while reaching a maximum velocity of 102.2 mph with his fastball.

The Cardinals didn’t get their first hit until Willson Contreras grounded a single up the middle against Aaron Ashby leading off the seventh.

Cubs 3, Pirates 2: Pete Crow-Armstrong hit a two-run home run in the fourth inning, Seiya Suzuki added a solo shot in the sixth and host Chicago held on for a win over Pittsburgh.

Astros 4, White Sox 3: Isaac Paredes hit a solo homer and Jose Altuve doubled twice and had two RBIs to lead host Houston over Chicago.

The Astros led 4-2 entering the ninth before Mike Tauchman homered to right field off closer Josh Hader to get Chicago within 4-3. There were two outs when Miguel Vargas narrowly missed a homer on a double off the wall in left field. Hader struck out Austin Slater to improve to 18 of 18 on save opportunities this season.

Yankees 1, Royals 0: Pablo Reyes stumbled, stopped and still scrambled home safely on a wild play in the eighth inning, taking advantage of a throwing error by reliever Lucas Erceg to give visiting New York a victory over Kansas City.