Jose Ramirez delivered a go-ahead, two-run double in the seventh inning and the Cleveland Indians beat the Chicago White Sox 5-4 Thursday night for a four-game sweep in a matchup of playoff-bound teams.

The victory pulled the Indians within one game of Chicago for the fourth seed and home-field advantage in the first round of the postseason. Idle Minnesota leads the White Sox by one game in the AL Central with three to play.

The Indians have won five straight and the White Sox have lost a season-high five in a row.

“If there is anyone you’d want at the plate right now, it has to be Jose,” Cleveland pitcher Zach Plesac said. “He’s at next level. Next level. It’s so cool watching him hit.”

Chicago scored three times in the top of the seventh to take a 4-1 lead, but the Indians answered with four in the bottom half. Ramirez’s two-out double to center off Carlos Rodon (0-2) drove in Cesar Hernandez and Delino DeShields.

“My expectation did not come to fruition with what I thought we were going to see,” White Sox manager Rick Renteria said. “If everybody wants to put it on me, put it on me.”

Rodon disagreed, saying, “I’m the one who gave up the hits. Ricky had nothing to do with throwing any of the pitches, so it’s not on him.”

On Tuesday night, Ramirez hit a three-run homer with two outs in the 10th inning to give Cleveland a 5-3 win over White Sox that clinched a playoff spot.

The AL MVP candidate went 2 for 3 in the series finale and is hitting .485 with eight homers and 20 RBI over his last 13 games.

“Jose is a lot of fun to watch and he’s doing everything right now,” Indians acting manager Sandy Alomar Jr. said. “All the guys just kept fighting. This team never stops battling.”

Cam Hill (2-0) worked 1 1/3 scoreless innings for the win and Brad Hand pitched the ninth for his AL-high 15th save in 15 chances.