CHICAGO (AP) Maikel Franco and Ryan McBroom homered during Kansas City's five-run seventh, and the Royals cooled off the Chicago White Sox with a 9-6 victory on Saturday.
Ryan O'Hearn and Alex Gordon also went deep for Kansas City, which had dropped five of six - including consecutive 6-5 losses where the opponent won in its final at-bat.
''Those were crushing blows, especially the one in St. Louis,'' Gordon said. ''Those are hard to forget, but this one felt good.''
The last-place Royals finalized a trade during the win, sending reliever Trevor Rosenthal to San Diego for young outfielder Edward Olivares and a player to be named. They could look to move more players ahead of Monday's trade deadline.
''I can't say enough about Trevor Rosenthal. I'm a big fan of the player and the man,'' Royals manager Mike Matheny said.
Edwin Encarnacion homered and Tim Anderson had four hits for the White Sox, who had won three straight and 10 of 11 to move into a tie for the AL Central lead.
Chicago has 52 homers in August, establishing a franchise record for any month. The previous record of 51 also was achieved in August 2001 and July 2003.
The White Sox rallied in the ninth, scoring three times on Anderson's RBI double and a throwing error on reliever Ian Kennedy. But Jesse Hahn came in and struck out Yasmani Grandal and Jose Abreu for his first save.
Jake Newberry (1-0) pitched a scoreless sixth for the win.
Kansas City went ahead to stay in the seventh. McBroom connected against Zack Burdi (0-1) with one out, tying it at 3 and setting a Royals record with his third pinch-hit homer this season.
O'Hearn added a two-out RBI single before Franco hit a three-run drive to center for his sixth homer.
Chicago manager Rick Renteria said Burdi's command ''was a little off.''
''I'm sure this will be a big lesson for him,'' he said. ''Velocity gets hit in the major leagues, hanging breaking balls get hit. You have to hit your spots.''
Kansas City extended its lead to 9-3 on RBI doubles by Hunter Dozier and Jorge Soler in the eighth.
After Gordon connected in the second for the Royals, the White Sox responded with Nick Madrigal's tying RBI single in the third. Encarnacion made it 3-1 with a two-run shot in the fourth.
Royals: Kennedy suffered a calf injury fielding a grounder in the ninth. Matheny said a trip to the injured list is a possibility.
White Sox: 3B Yoan Moncada irritated the back of his left leg running the bases in the ninth and exited the game. ... LHP Carlos Rodon (shoulder soreness) is scheduled to throw three innings and 60 pitches Sunday at the team's alternate training site in Schaumburg. ... LHP Aaron Bummer (biceps strain) has started playing catch.
Left-hander Kris Bubic (0-4, 5.96 ERA) will start for the Royals on Sunday in the finale of the three-game series. The 23-year-old rookie is looking for his first major league win. The White Sox plan to recall right-hander Dane Dunning (0-0, 6.23 ERA) from their alternate site to start.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports