For Price, it was the first time in his career that he squandered three separate leads. Price, who allowed just one run over 22 1/3 innings against the Orioles last season, has a 5.25 ERA in two starts against them this year.

“It's a good team,” Wieters said. “No matter who they run out there starting pitching, they're going to have a good one going out there. It's nice to win series and that's always our goal going in, to try to win the series.”

Rays first baseman James Loney's eighth-inning homer off reliever Darren O'Day tied the game at 6. It was the first run scored off O'Day in eight outings this season.

The Orioles had the potential winning run on second base with two outs in the ninth against Rays reliever Jamey Wright (0-1), but pinch hitter Nate McLouth flied out to deep center field.

Orioles starter Miguel Gonzalez yielded three Tampa Bay homers, tying a career-high, and snapped a six-outing quality-start streak that dated back to Sept. 5.

The 28-year-old right-hander lasted just 5 2/3 innings, marking the eighth time in 15 games this season that an Orioles starting pitcher has not lasted six innings.

Gonzalez entered the game having not allowed a home run in his first two starts of the season, but he allowed a pair of solo homers four batters into the game.

Jennings opened the game with his second leadoff homer of the series. Three batters later Rays third baseman Evan Longoria also homered.

The Orioles fell behind 3-0 in the second inning on a bases-loaded sacrifice fly by Jennings.

The Orioles rebounded to tie the game in the second with three runs off Price, capped by slumping Nolan Reimold's two-run homer.

Reimold, who entered the night with just three hits in his last 20 at-bats, took a first-pitch 93-mph fastball from Price over the fence in center field and into the Orioles bullpen. That tied the game at 3.

The Orioles scored their first run in the inning on Chris Davis' RBI single, which drove in Wieters, who led off the inning with a double down the right-field line.

Gonzalez nearly escaped damage in the third inning. Facing runners at first and second with one out, Loney hit an apparent double-play ball to Davis at first. Davis went to second for the force there, but shortstop J.J. Hardy's throw back to first skipped over the glove of a jumping Gonzalez at first and into the stands, allowing Matt Joyce to trot home and make it 4-3.

Orioles second baseman Alexi Casilla fueled a two-out rally in the fifth, speeding out of the box for a double on an opposite-field hit into the gap. Markakis then hit an infield single into the hole at shortstop to place runners at the corners. Machado then laced a double that one-hopped off the left-center field fence, easily scoring Casilla from third. But Markakis was caught in a rundown between third and home plate for the third out of the inning with the middle of the lineup coming up.

Gonzalez had retired nine straight before catcher Jose Molina hit a solo homer with two outs in the sixth to give Tampa Bay a 5-4 lead.