BALTIMORE -- For nine innings against the Chicago White Sox on Saturday afternoon, the Baltimore Orioles failed with runners in scoring position.
Then, down to their last out, somebody came through.
Matt Wieters singled home two runs with two outs in the bottom of the 10th inning and the Orioles rallied for a 4-3 win.
With one out in the 10th, pinch hitter Henry Urrutia and Nick Markakis singled off Addison Reed (5-3) to put runners on first and third for Nate McLouth. With the count 3-2, McLouth struck out while Markakis took second.
Wieters, who began the afternoon enjoying a rare day off, followed with a single to right field, scoring pinch runner Chris Dickerson with the tying run and Markakis with the winner.
"It was a slider," Wieters said. "I swung through a slider the (at-bat) before on a pitch that I felt I could have done something with and took a little bit of a bad swing at it. I knew that was definitely an option that they (could) come at me. I just wanted to stay back and try to find some outfield grass."
The catcher had entered the game as a pinch hitter in the eighth and remained in the game.
Pinch hitter Conor Gillaspie hit a solo homer with one out in the 10th inning to give the White Sox a 3-2 lead, but that ultimately just helped set the stage for Wieters.
"I made a terrible pitch to Wieters right there on that last pitch, and he made me pay for it," Reed said.
Brian Roberts homered and Danny Valencia had three hits for Baltimore (76-65), which won its third straight. The Orioles began the day tied with Cleveland, two games behind Tampa Bay for the final AL wild card spot.
"I thought we deserved it," Baltimore manager Buck Showalter said. "It was frustrating, but we finally break through there at the end."
Dayan Viciedo hit a homer and a double for the White Sox (56-85), who lost their ninth straight.
"Just a couple of bad breaks there in the last inning," Gillaspie said. "Couple of balls not hit particularly hard found holes. It's tough. But (all of the losses) have all been pretty hard."
Tommy Hunter (4-3) pitched the 10th inning for the Orioles.
Baltimore won despite going 2-for-18 with runners in scoring position and stranding 12 base runners.
"We had some chances early in the game, but they made some pitches to get out of it. You always have a shot until the last out," Wieters said. "We knew we were still in it all the way until the end. It was a big win for us."
The Orioles had an opportunity in the eighth when Valencia led off with a double. Pinch runner Alexi Casilla went to third on an error with one out, but reliever Nate Jones struck out pinch hitter Wieters and got Roberts on a grounder to keep it tied.
"There was a lot of Houdini stuff going on in there," White Sox manager Robin Ventura said of his pitchers. "They'd get in trouble and work their way out of it. With the way it was going today, you almost figured Reed was going to do the same thing, but it just didn't happen."
Coming off two starts in which he didn't make it past the fourth inning, Wei-Yin Chen pitched the first six for Baltimore, giving up two runs on six hits. Chen didn't walk a batter while striking out eight in a 99-pitch effort.
"Chen was good," Showalter said. "He was real good. Real crisp fastball."
White Sox starter Hector Santiago, coming off a poor outing of his own against Boston, allowed two runs and seven hits in five innings.
The Orioles jumped out front in the first. Manny Machado singled with one out and came around when Chris Davis lashed a two-out opposite-field double to left center. It was Davis' league-leading 87th extra-base hit.
Chicago tied it in the fourth and snapped an 18-inning scoreless streak in the process. With one out, Alexi Ramirez hit a long fly that landed just fair in right for a double and Paul Konerko followed with an RBI single.
Viciedo broke a 1-1 tie leading off the fifth when he golfed a low fastball from Chen to straight-away center for his 12th home run.
The lead was short-lived as Roberts hit Santiago's first pitch of the fifth inning over the wall in left to make it 2-2.
NOTES: Chicago bullpen coach Bobby Thigpen handled pitching coach Don Cooper's duties for the second straight game. Cooper began experiencing symptoms related to diverticulitis Friday and went to the hospital for examination Saturday. ... Wieters was given a day off from starting, with C Chris Snyder making his first start since joining the club Sept. 1. ... RHP Andre Rienzo (1-1, 5.03) opposes Bud Norris (10-10, 4.01) in Sunday's series finale.