HOUSTON -

Matt Dominguez hit a tying homer and Jose Altuve's fourth hit drove in the go-ahead run as the Houston Astros rallied in the eighth inning to beat the Texas Rangers 3-2 on Sunday.

Dominguez connected off reliever Neal Cotts (2-8) with one out in the eighth to make it 2-all.

One out, one pitching change and three batters later, Altuve singled home Jake Marisnick.

Altuve also doubled twice in matching his career high for hits. Dominguez had an RBI single earlier in the game.

The Astros won a series for the first time since Aug. 19-21 at Yankee Stadium.

Jose Veras (3-1) got the win and Chad Qualls posted his 16th save.

Dallas Keuchel went seven innings for the Astros, allowing two runs and five hits. He struck out three and walked two.

Alex Rios doubled and singled Texas, driving in a run and scoring run. His RBI single in the sixth, a grounder that got between second and short, scored Daniel Robertson to put Texas ahead 2-1.

Rios doubled and scored on Ryan Rua's grounder in the first inning.

Texas rookie Nick Martinez pitched 5 1-3 innings, giving up one run and six hits. He struck out four and walked three.

Martinez loaded the bases in the third on back-to-back walks, but escaped unscathed.

TRAINER'S ROOM

Rangers: Whether RHP Yu Darvish (right elbow) can return to the mound this season remains unclear. "I don't know," Texas manager Ron Washington said. "Waiting until Dr. (Keith) Meister tells him he can pick up a baseball to make a decision." Darvish was placed on the 15-day DL Aug. 13, retroactive to Aug. 10.

Astros: INF Marwin Gonzalez was kept out of the lineup one day after being scratched with discomfort in his right hamstring. Gregorio Petit started at SS.

UP NEXT

Rangers: Texas RHP Colby Lewis (9-11) looks to build on his previous outing — his second complete game of the season, snapping a three-game losing streak — when he starts Monday night at Kansas City.

Astros: After an off-day, Houston starts RHP Brad Peacock (3-8) on Tuesday night at home against the Los Angeles Angels. He is looking for his first win since July 8.