Recommended Video:

HOUSTON (AP) — Kyle Gibson threw a four-hitter and Joey Gallo hit a ground-rule RBI double with two outs in the ninth inning to lift the Texas Rangers over the Houston Astros 1-0 on Wednesday night.

It was the first career shutout for the 32-year-old Gibson and third complete game — his previous one came in August 2016 with Minnesota against Atlanta.

Gibson (2-5) walked three and struck out a season-high nine to earn his first win since Aug. 15. He was 0-3 with an 8.10 ERA and eight homers allowed in his past five starts.

Gibson struggled to articulate what this performance meant to him after such a difficult stretch.

“It’s hard to put into words," he said. “So much over the past few weeks has gone into that right there. Lots of discussions, lots of work in the bullpen, talking with a lot of different people. All the while trying to make sure I keep that same confidence and never let one or two outings shake who I am on the mound.”

The victory snapped a seven-game road skid for the Rangers, who are 5-18 away from home this season.

Leody Taveras singled on a sharp grounder that first baseman Yuli Gurriel couldn’t scoop up to start the ninth and advanced to second on a groundout by Isiah Kiner-Falefa for the second out.

Gallo had two strikes when he connected off Ryan Pressly (1-3) for a line drive that bounced just inside the right field line to send Taveras home.

Gallo, who is batting just .188 this season, was glad he could get a run on the board to help Gibson get the win.

“For me, I just wanted to come through for the team," Gallo said. “I haven’t had the best at-bats, hit a few balls hard, but as a team, we just haven’t put anything together. I knew I had an opportunity with a guy on second.”

Gibson struck out Jose Altuve and Michael Brantley in the ninth before a double by Alex Bregman. After a short mound visit, Gibson retired Kyle Tucker on a lineout to first to end the game. The players on the field and in the Rangers dugout began to cheer loudly after the final out, and Gibson jumped up and down and smiled.

“That’s the best game he’s thrown in a long time," Houston manager Dusty Baker said. “He threw a heck of a game. It really hurts to lose 1-0."

Gibson and Houston’s Lance McCullers Jr. made this one a pitchers' duel. McCullers fired seven shutout innings in his return after a 10-day stint on the injured list with nerve irritation in his neck. He allowed two hits and struck out eight without a walk.

“I was happy with the way I mixed my pitches and executed," McCullers said. “Sad that we couldn't get the team W. That's what we care about."

McCullers allowed a double to Rougned Odor with two outs in the second before sailing through the next few innings, retiring 12 in a row before Taveras doubled with two outs in the sixth. But the right-hander got Willie Calhoun to pop out to end that inning and pitched a perfect seventh to end his night.

Josh James took over for the eighth and allowed a two-out single to Ronald Guzmán before striking out Jeff Mathis.

Gibson struggled with control early and walked two of his first four batters. But he struck out Tucker to end the first inning as the first of six straight Astros he retired. Altuve singled with two outs in the third, but Gibson set down his next 11 batters before Tucker singled with one out in the seventh.

Tucker was caught stealing and Gurriel lined out to end the frame. Gibson walked Martín Maldonado with two outs in the eighth before fanning George Springer.

BLANKING THE ASTROS

Gibson became the first pitcher to throw a shutout at Minute Maid Park since Chicago White Sox right-hander Lucas Giolito also threw a four-hitter on May 23, 2019. Gibson is the second Rangers pitcher to do it in Houston, joining Brandon McCarthy, who allowed nine hits in a shutout on May 24, 2009.

TRAINER’S ROOM

Astros: Houston ace Justin Verlander threw to hitters for the first time since he was injured in the team’s opener on July 24. Verlander, who has a strained right forearm, threw 50 pitches in the bullpen before throwing about 25 to hitters in two simulated innings. “He looked real good, especially for his first time out ... his control was good,” Baker said. Baker hopes the Astros can get Verlander back before the end of the regular season. But he said they likely won’t know what’s next for the reigning AL Cy Young Award winner until they see how he feels after Wednesday’s work. ... Third base coach Gary Pettis missed the game because of hip discomfort. First base coach Omar Lopez filled in for Pettis at third, and quality control coach Chris Speier was at first base.

UP NEXT

Houston left-hander Framber Valdez (3-3, 4.08 ERA) will face Jordan Lyles (1-4, 7.80) when the series wraps up Thursday night.

___

More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports