Kamil Krzaczynski-USA TODAY Sports

Martin Maldonado and Eloy Jimenez homered and Chris Flexen pitched effectively into the sixth inning as the host Chicago White Sox beat the Tampa Bay Rays 9-4 on Friday to stop a seven-game losing streak.

Chicago won for just the fourth time in 26 games while sending Tampa Bay to its fourth loss in five games.

Nicky Lopez, Tommy Pham, Danny Mendick, Paul DeJong and Maldonado had two hits apiece for the White Sox, who had a season high in runs. Maldonado's three-run blast broke things open in the sixth.

Flexen (1-3) was the benefactor in his return to the starting rotation after a brief detour to the bullpen.

Tampa Bay drew to within 5-2 with a pair of seventh-inning runs before Jimenez got them back with a two-run blast in the bottom half.

Andrew Vaughn opened the scoring for Chicago with an RBI sacrifice fly in the third inning.

Chicago's run snapped a streak of 14 2/3 scoreless innings for Rays right-hander Zach Eflin, although the run was unearned.

Pham, making his White Sox debut, scored after reaching base on a throwing error by Tampa Bay second baseman Curtis Mead. Eflin walked the next two batters before the Rays escaped with allowing only one run.

Another big rally failed to materialize in the White Sox fourth. DeJong singled to score Mendick, who led off the inning with a double, but was erased when Maldonado grounded into a double play one batter later.

Flexen made the support stand up. He retired seven Rays in a row after allowing a leadoff double to Yandy Diaz and yielded only two hits in his five-plus innings to go with three walks and two strikeouts.

Consecutive leadoff walks to start the sixth spelled the end of the night for Flexen. Dominic Leone entered in relief and kept Tampa Bay scoreless.

Eflin (1-3) scattered five runs, four earned, and nine hits in six innings with two walks and four strikeouts.

Pham reached base three times. The White Sox recalled the veteran from Triple-A Charlotte before the game. He signed a minor-league deal on April 16.

Diaz left in the eighth inning after being hit on the left hand with a pitch.

Mead had two hits and an RBI.

More must-reads:

TODAY'S BEST
Anthony Edwards backs up talk to keep Timberwolves alive in WCF
Championship-winning NASCAR team to shut down after 2024 season
Three takeaways as Panthers tie Eastern Conference Final vs. Rangers
Texans sign young offensive star to huge contract extension
Aaron Boone comes to the defense of retired umpire Angel Hernandez
Negro League legend finally getting his due as MLB merges stats
Several key players withdraw from NBA Draft
Tyrese Haliburton ready to take active role in retaining Pascal Siakam
Mets stars reportedly had emotional reaction to firing of Buck Showalter
NHL announces 2024 King Clancy Memorial Trophy winner
Cardinals sign first-round DL
Rams sign first-round DE, complete draft class
Steelers QB Justin Fields focusing on 'little things' amid battle with Russell Wilson
Pistons confirm that key RFA forward underwent toe surgery
Pirates place left-hander, catcher on injured list
Patriots exec discusses team's approach to QB competition
Braves to promote No. 3 prospect for MLB debut Wednesday
Diamondbacks release veteran infielder
Packers' former first-round pick planning to make 'monster leap'
NFLPA finalizing proposal for major change to offseason schedule