Thomas Shea-USA TODAY Sports

Hunter Dozier clubbed a two-run home run and added an RBI double before a quartet of relievers helped the visiting Kansas City Royals fend off the Houston Astros 7-4 on Wednesday.

Dozier was one of three Royals to smack home runs off Cristian Javier (6-4). The Astros right-hander gave up five runs in five innings after pitching brilliantly in each of his previous two starts.

Whit Merrifield fired the opening salvo against Javier, socking his fourth home run to left-center field on a 1-1 fastball leading off the game. Javier walked the next batter, and after two strikeouts, Dozier belted his ninth home run of the season.

Emmanuel Rivera extended the Royals' lead to 4-0 with his sixth home run, a one-out shot in the second inning. Dozier answered an RBI double from Houston's Jake Meyers in the bottom of the second with his two-out run-scoring double in the third.

The Astros, who rallied from early deficits to win the previous two games in the four-game series, pulled within 5-3 when Meyers followed a run-scoring single by Kyle Tucker with an RBI groundout in the fourth.

When Aledmys Diaz chased Royals starter Brad Keller with a two-out solo homer in the sixth, Houston got within 5-4. Keller (4-9) allowed four runs on five hits and three walks with three strikeouts.

Royals reliever Jose Cuas escaped a bases-loaded jam in the sixth, preserving the one-run lead by getting Mauricio Dubon to ground into an inning-ending forceout. Dylan Coleman, Taylor Clarke and Scott Barlow followed by allowing a total of one hit over three scoreless innings. Barlow earned his 13th save.

Andrew Benintendi and MJ Melendez produced RBI singles in the ninth off Houston's Hector Neris to provide Barlow breathing room in the bottom half of that frame. Benintendi and Dozier recorded two hits apiece, and Benintendi scored three runs.

Javier, who allowed one run, one hit and one walk while posting 27 strikeouts over his previous two starts and 14 innings, allowed four hits and three walks while striking out seven.

More must-reads:

TODAY'S BEST
Avalanche force Game 6 with big third period vs. Stars
Celtics finally put away undermanned Cavaliers, advance to conference finals
Steelers to make history in final two months of 2024 season
Thunder bench starting guard for Game 5 vs. Mavericks
Packers will play on Thanksgiving with a rare twist in 2024
Steelers veteran reportedly plans to sit out OTAs
Padres pitcher has honest reaction to team getting booed off the field
MLB announces punishment for Astros' Ronel Blanco over foreign substance
Athletics place lefty on 15-day IL, transfer infielder to 60-day
Rafael Nadal switches gears, gives major update on French Open status
Atlanta to be first race of NASCAR's In-Season Tournament
West Point alum made history in his MLB debut with Reds
Heat legend cautions Lakers against hiring JJ Redick
Welcome to the WNBA: Caitlin Clark sets infamous record in debut
Jalen Brunson leads Knicks to blowout win in Game 5 vs. Pacers
Nikola Jokic torches DPOY to lead Nuggets past Wolves in Game 5
Oilers use late heroics to tie Canucks at two games each
Watch: Astros pitcher ejected after foreign substance check
Kirk Cousins not angry with Falcons because winning is 'hard enough'
Bronny James has surprising comments on potentially teaming up with LeBron

Want more MLB news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.