BALTIMORE -- Chris Davis hit his major league leading 46th home run, Adam Jones also homered, and the Baltimore Orioles beat the Tampa Bay Rays 4-2 Wednesday night to avoid a three-game sweep.
Davis connected against Jeremy Hellickson (10-7) leading off the fifth inning. The drive landed on Eutaw Street beyond the 25-foot wall in right field and gave the Orioles a 4-2 lead.
Wei-Yin Chen (7-6) gave up two runs and six hits in seven innings to help Baltimore win for only the third time in nine games. The left-hander was backed by three double plays, two of which he started.
Darren O'Day worked a perfect eighth and gave up a leadoff single to Wil Myers in the ninth before Brian Matusz walked pinch-hitter James Loney. Tommy Hunter then got two straight outs, and with runners on the corners, Kelly Johnson was thrown out trying to steal second.
It was Hunter's fourth save.
Baltimore's usual closer, Jim Johnson, didn't get up in the bullpen. Johnson had blown three straight save opportunities and surrendered three hits in a non-save situation Tuesday.
Jason Bourgeois and Sean Rodriguez hit solo homers for the Rays, whose second loss in eight games left them a game behind first-place Boston in the AL East.
Hellickson allowed four runs and seven hits in 4 1-3 innings. The right-hander is 0-4 with an 8.06 ERA in five starts since July 26.
The Orioles used a two-run first inning to take their first lead in the series. After Nate McLouth led off with a single to snap an 0-for-17 skid, Manny Machado singled and Davis walked to load the bases. Jones drove in a run with a fielder's choice grounder, and Matt Wieters hit a sacrifice fly following a double steal.
Bourgeois hit a solo shot in second. It was his third career homer, the first since 2011 with Houston.
In the bottom half, the Orioles loaded the bases with two outs for Davis, who hit a routine fly to left.
Jones made it 3-1 in the third with his 26th home run, a drive to dead center that traveled an estimated 446 feet. Rodriguez answered in the fourth with his third homer, the first since May 26.
NOTES: The Orioles had lost five straight to Tampa Bay at Camden Yards, including the first two games of this series by a combined 11-5 score. ... Rays LHP Matt Moore, who has been on the DL since July 31 with a sore elbow, threw 59 pitches during a bullpen session Wednesday. He is slated to pitch a simulated game on Saturday. ... Both teams are off Thursday. Tampa Bay resumes play Friday at home against the Yankees and the Orioles host Oakland, one of the teams they are chasing for a wild-card spot. Rays manager Joe Maddon declined to reveal his starting rotation for the series against New York. ... Davis has 25 homers at Camden Yards this season, tied with Rafael Palmeiro for most in one year at the 22-year-old ballpark. The single-season record for homers in Baltimore is 27, by Frank Robinson at Memorial Stadium in 1966.