BALTIMORE -- Matt Wieters doubled in the game-winning run in the bottom of the 10th, and the Baltimore Orioles defeated the Philadelphia Phillies 5-4 Sunday to extend their run of successive extra-inning victories to nine.

Steve Tolleson hit a three-run homer for the Orioles, who bounced back from a 4-1 deficit to keep Philadelphia starter Cliff Lee winless this season.

Baltimore took two of three from the Phillies, including a 12-inning win on Saturday. The nine straight extra-inning victories is an Orioles record, breaking the mark of eight set twice previously.

Adam Jones led off the 10th against Joe Savery (0-1) by reaching on a fielding error by third baseman Ty Wigginton. Wieters then launched a drive to right that hit the scoreboard, inches over the outstretched glove of Hunter Pence. The bouncing ball eluded Pence long enough for Jones to score the unearned run.

Darren O'Day (4-0) worked the 10th for the Orioles.

It was the eighth loss in nine games for the last-place Phillies, who were denied their third straight series win on the road.

Lee allowed four runs over six innings in his 10th start of the year. The left-hander struck out eight, but his record remained at 0-3 after he failed to maintain a 4-1 lead.

Before this season, the former Cy Young Award winner had not gone more than three starts without a win to begin the year.

Baltimore starter Jason Hammel gave up four runs and six hits over six wild innings. The right-hander issued a season-high five walks, hit a batter and threw a wild pitch.

But Hammel limited Philadelphia to 3-for-8 hitting with runners in scoring position and retired the last seven batters he faced.

The game attracted 45,267 fans, many of them clad in red and rooting for the Phillies. It was the second straight sellout crowd at Camden Yards and third of the season.

After Philadelphia loaded the bases with one out in the first inning and failed to score, the Orioles went up 1-0 in the bottom half on singles by Jones, Wieters and Ronny Paulino.

The Phillies again stranded three runners in the second, but not before taking a 3-1 lead. With the bases loaded and two outs, Pence grounded a two-run single up the middle and Jim Thome followed with an RBI single.

Hammel had a 1-2-3 third but struggled again in the fourth. A single and two walks loaded the bases before Juan Pierre scored on a wild pitch. But the Phillies stranded runners at the corners, upping their left-on-base total to eight over four innings.

In the bottom half, Philadelphia's lead vanished. With two on and two outs, Tolleson hit a 1-2 pitch into the left-field seats.

NOTES: Baltimore is 9-2 in extra innings. Philadelphia is 2-6. ... Pence went 2 for 4 and was 7 for 13 in the series. ... Orioles manager Buck Showalter was encouraged by the five scoreless innings thrown by 49-year-old Jamie Moyer on Saturday for Triple-A Norfolk. "He pitched well, statistically," Showalter said. "We got some depth there if we have a need. I hope we don't have a need." ... 2B Brian Roberts (concussion) will finish his minor league rehabilitation assignment on Sunday and is expected to be activated from the DL by the Orioles on Tuesday. Roberts, 34, hasn't played in a major league game since May 16, 2011. "As far as where he's playing and what position he's hitting and all that stuff, I haven't made that lineup out yet," Showalter said. ... Both teams are off Monday.