CHICAGO (AP) — White Sox manager Ozzie Guillen had seen enough. He was already packing for his team’s upcoming road trip when Carlos Quentin came to bat.

Quentin proceeded to hit a go-ahead, three-run shot during a five-run eighth inning, his second home run of the game, and Chicago suddenly had an unlikely 10-8 victory over the Texas Rangers Wednesday.

The go-ahead homer came on the first pitch from Rangers closer C.J. Wilson, who entered in relief of Eddie Guardado with two on and two out.

“I was looking fastball and was going to adjust to anything he threw up there,” said Quentin, who leads the AL with 26 home runs. “I was just looking to get a hit and tie the game. Sometimes in those situation when you’re not looking to do too much, good things happen.”

It was the third multihomer game of the season for Quentin, whose shot in the fifth barely cleared the center field wall.

Alexei Ramirez singled in Paul Konerko, and Orlando Cabrera drove in Ramirez with a sacrifice fly to deep left that was less than a foot from landing in the bleachers. That gave Quentin a chance to be the hero.

And give Guillen a gift he couldn’t see in person.

The White Sox manager was ejected in the seventh inning with his team trailing 8-4. Guillen argued with plate umpire Rob Drake after a called on Nick Swisher that appeared to be outside, and was promptly sent to the clubhouse.

At the time of the comeback, Guillen was in his office packing for the team’s 10-game road trip that begins Friday at Detroit.

“They never give up,” Guillen said. “They can play without me, but I can’t manage without them.”

Octavio Dotel (4-4) pitched a scoreless eighth and Bobby Jenks worked the ninth for his 19th save in 22 chances.

Guardado (1-2) wound up allowing four runs and three hits, retiring only two batters.

“We thought we had the game,” Rangers manager Ron Washington said. “I mean, you are up 8-5 going into the eighth inning and you bring in your two best relievers, and before you can get out of the inning they got five runs. So it was disappointing, but we’ve bounced back from disappointments before and we’ll bounce back from this one.”

The White Sox won the final two games against the Rangers to split their six-game homestand. They also increased their lead atop the AL Central over second-place Minnesota.

Kevin Millwood, the Rangers’ opening day starter, left with two outs in the second with a sore right groin. He got the first two batters out, then issued consecutive walks to No. 9 hitter Juan Uribe and Cabrera before coming out of the game.

It’s not the first time Millwood as had to deal with a groin injury. He spent three weeks on the disabled list in May for the same thing.

“It just got bad enough to the point where I couldn’t push off and I wasn’t going to do us any good that way,” said Millwood, who allowed three runs and two hits. “It’s frustrating. I just want to get it taken care of and be able to pitch without worrying about it.”

White Sox starter Clayton Richard was making his major league debut after getting called up Monday to take the spot of injured starter Jose Contreras (elbow tendinitis).

Richard worked quickly but also ran up a high pitch count. He lasted only four innings, giving up seven hits and five runs-four earned. He walked one and struck out seven, including All-Star Josh Hamilton three times.

Guillen said Richard would stay in the rotation and pitch in Minnesota on Tuesday.

“It’s a relief knowing that I’ll at least be around for another start,” Richard said.

Michael Young greeted Richard in the first inning with his eighth homer of the season. The White Sox responded in the bottom of the inning with a three-run home run from Jim Thome, his 19th homer of the season.