BALTIMORE — Adam Jones drove in a run and played exceptional defense behind left-hander Wei-Yin Chen, who earned his second win of the season Wednesday night in the Baltimore Orioles’ 5-2 victory over the Boston Red Sox.

J.J. Hardy had two RBIs for the Orioles, who will attempt to complete a three-game sweep on Thursday night. Baltimore is 6-3 against Boston this season, 4-1 at home.

Jones, a four-time Gold Glove winner, threw out a runner from center field and made two fine catches. He also put Baltimore up 3-1 in the third with an RBI single.

Dustin Pedroia had two hits and scored twice for the last-place Red Sox, who have lost nine of their last 10 road games. David Ortiz did not play, mostly because of his .114 batting average against left-handed pitchers.

Chen (2-4) allowed two runs and seven hits in five-plus innings. He came in with just one win in his 11 previous starts despite carrying a solid 3.18 ERA.

Darren O’Day struck out four during two perfect innings to earn his second save.

Rick Porcello (4-6) gave up five runs and 10 hits over 5 1/3 innings in losing his fourth straight start. In three appearances against Baltimore this year, he’s 0-2 with a 9.37 ERA.

The Orioles’ outfield put on an impressive display of fielding in the second inning. Xander Bogaerts hit a liner off the wall that Jones snagged with his bare hand before throwing out the runner at second base. Pablo Sandoval followed with a single to left and was thrown out at second by Travis Snider. Jones then made a nice running catch of a liner by Mookie Betts.

In the bottom half, pull-hitter Chris Davis beat the shift with a bunt down the third-base line. Two outs later, Hardy hit an RBI double and scored on a single by Ryan Flaherty.

After Brock Holt got Boston to 2-1 with an RBI double in the third, Jones answered in the bottom half.

Jones showed his fielding prowess again in the fifth, racing to his left to track down a liner by Betts before making a diving catch at full extension.

Pedroia doubled and scored in the sixth before Baltimore used an RBI single by Snider and a sacrifice fly by Hardy to chase Porcello in the bottom half.