BALTIMORE -- Alex Gordon and Eric Hosmer both hit two-run homers in the fourth inning, and Mike Moustakas added a solo shot as the Royals scored a 6-2 victory over the Baltimore Orioles on Thursday night at Camden Yards.
The homers by Gordon and Hosmer, which came two batters apart off Freddy Garcia (0-1), gave the Royals the lead for good.
Moustakas greeted reliever T.J. McFarland with a homer off the right field foul pole in the seventh as Kansas City snapped a three-game losing streak and prevented a three-game Baltimore sweep.
The Royals' three homers represented the team's single-game high this season.
The Orioles (21-14) had won four in a row and five of their last six.
Kansas City (18-13) got the win for Jeremy Guthrie (5-0), making his first appearance versus his former team. Guthrie gave up two runs, one earned, on seven hits in six innings. He has won 10 straight decisions, and the Royals haven't lost in his last 18 starts dating back to 2012.
Salvador Perez added a bloop single in the eighth for Kansas City's final run.
Aaron Crow (seventh), Kelvin Herrera (eighth) and Luke Hochevar (ninth) each came out of the bullpen to throw a shutout inning and finish off the Orioles.
Baltimore took a 1-0 lead in the second on J.J. Hardy's broken-bat bloop single to center. The hit scored Adam Jones, who reached on shortstop Alcides Escobar's throwing error -- his third in the last two games. Prior to the unearned run, Guthrie hadn't allowed a run in his previous two starts.
Last Saturday in Anaheim, Garcia took a no-hitter into the seventh of his first Baltimore start. This time, the veteran retired the first 10 Royals before Lorenzo Cain reached on a one-out infield single in the fourth.
Gordon followed with a two-run homer to right on a 2-1 pitch. Right fielder Nick Markakis barely moved, just turning to watch the ball go as Kansas City took a 2-1 lead.
Billy Butler then singled and scored one out later when Hosmer belted a two-run homer to left-center.
Chris Davis answered for the Orioles with a leadoff homer off Guthrie in the bottom half of the fourth, cutting the Royals' edge to 4-2.
NOTES: Hardy's single in the second extended his hitting streak to six games. He knocked in the game's first run for a second consecutive night. Hardy hit a two-run homer Wednesday to give the Orioles a lead they never lost. ... The Orioles put RHP Miguel Gonzalez on the 15-day disabled list, retroactive to Saturday, due to blister problems on his right thumb. The team still needs to decide who will take his spot in the rotation Saturday in Minnesota. ... Gordon has homered in three straight games, the first time he's done that in his career. ... Hosmer's homer ended his streak of 144 at-bats without one. He last homered Sept. 11.