Wei-Yin Chen was magnificent on Wednesday night as he pitched seven shutout innings.

Chen allowed four hits, but thanks to three double plays faced only one batter more than the minimum as the Orioles beat the Boston Red Sox 6-0 before 25,866 at Oriole Park.

It was the Orioles’ second shutout in three games. All three games of the series were shutouts.

Chen (7-2) struck out seven and didn’t walk any, but hit a batter. He got double plays to end the fifth, sixth and seventh. He did not return when the game resumed after a rain delay of 1 hour, 38 minutes after 6 ½ innings.

“Wei-Yin was really good. I was thinking today, I don't know whether it was kind of getting on a consistent five-man rotation, but his stuff's been real crisp,” manager Buck Showalter said.

Darren O’Day and Zach Britton each pitched a perfect inning after the rain.

Showalter said that had there been no rain delay, Chen would have pitched another inning, but Britton needed the work and was going to pitch the ninth.

Of course. I wanted to pitch one more inning if I had a chance. But I don’t know, maybe the God of weather doesn’t really like me,” Chen joked through his translator. “The rain kept me from doing that, but it’s OK.”

Steve Pearce, who was batting second with Manny Machado dropped to seventh, walked in the first off Rubby De La Rosa. He scored on Adam Jones’ double. With two outs, Chris Davis hit his 10th home run of the year to right for a 3-0 lead.

Davis is back on a more consistent home run pace, and that’s relieved him.

I think more than the numbers, what am I really doing to contribute to the team and for a while I felt all I was doing was playing first base. I wasn’t swinging the bat well. I wasn’t getting on base. It was frustrating because you know that even though you’re not hitting home runs, you could be getting on base for [other guys],” Davis said.