The team that swept the Orioles in a four-game series showed up at Camden Yards tonight aiming to dole out another beating. Maybe similar to the minus-29 run differential in the Bronx. One-sided from start to finish.

“I think it was a punch in the face last time we played them,” manager Craig Albernaz said earlier today, “so hopefully our boys come out and respond.”

Being no-hit for six innings wasn’t the answer.

It turned out to be the slumping hitter who wasn’t in the original lineup.

Adley Rutschman led off the seventh with a ground ball past second baseman Jazz Chisholm Jr. and into right field to ruin Ryan Weathers’ bid at making history. Coby Mayo faced another left-hander, Brent Headrick, with two runners on base and homered to left field to give the Orioles a 3-2 win over the Yankees before an announced crowd of 23,160 at Camden Yards.

Headrick entered the game after Tyler O’Neill’s nine-pitch walk with one out in the seventh. Mayo was supposed to be watching from the bench, but designated hitter Samuel Basallo had to be scratched with left knee discomfort.

Albernaz said Basallo is fine “and will be fine.” Mayo coincidentally had a bloody gash on the inside portion of his right knee after a play at second base, but nothing could bother him tonight.

“Got to always stay ready,” he said. “In this league, no one cares how late they told you, they don’t want to hear any excuses. Alby told me, ‘Got to get ready, got to prepare.’ … You’ve just got to stay ready. Struggling, not struggling, you have to turn the page, new day.”

Mayo began the night batting .158/.218/.277 with 35 strikeouts in 34 games. He struck out and walked against Weathers, and Yankees manager Aaron Boone kept him in the game by bringing in another lefty. A right-hander likely would have led to a counter move from Albernaz.

Mayo got the barrel on a 1-1 slider for his fourth home run of the season. The hand slaps in the dugout were just as loud as his contact with the ball.

“It feels like I’ve been in that spot a lot over the last three seasons since I’ve been up here and haven’t come through much, as much as I wanted to,” he said. “That was a spot where when I did come through, all that emotion came out and it just felt really good.”

“Coby works hard, he cares a lot, and for him to come through right there was huge – for him, for us,” said Albernaz, who’s club improved to 1-9 against lefty starters. “You know, it’s a late scratch ambush for him, but to his credit, he was ready, prepared. That’s a tough matchup. That lefty, he has some reverse split numbers. The slider is real. Like, it’s a real tough matchup. He did a great job of getting that slider up and then putting a good swing on it.”

Mayo had to get past the walk-off throwing error in Miami, as well as the failed at-bats and reduced playing time. He couldn’t lose confidence over it, leaning on a large support system that even includes Fin, his Golden Retriever.

“Family, got to rely on my girlfriend, my dog,” he said. “The dog doesn’t know I made an error. He doesn’t know I struck out four straight at-bats or whatever it was. This game does a lot to the mentals and can have a lot on our minds going to sleep at night, putting our heads on the pillow. As much as guys want to flush it sometimes, it’s tough to when you leave the field. So I think sometimes you need the people in your corner.

“My dog loves me, so it doesn’t matter what happens. He’s always going to be there for me, too.”

The nine-pitch walk from O’Neill came after he sent a long fly ball down the left field line that hooked foul. He struck out in his first two plate appearances.

“That was one of the most gangster at-bats I’ve seen,” Albernaz said.

“T.O.’s credit, man, he’s been outstanding in the sense of, it’s kind of new for him not playing every single day, you know? And obviously he’s had the concussion, coming off that, so he’s still trying to find his timing. And the playing time hasn’t been as much as he’d like, but he’s always ready and prepared.

“It’s no secret I’m grinding a little bit right now,” O’Neill said. “Just trying to get in the box, get comfortable and see the ball well. Weathers had a heck of a game out there. Just try to battle, man. Just really try to battle, battle the best I can out there. He was making pitches all night. Just missed one later in the game, but, you know, no problem passing that baton to Coby and it was awesome to see him come up clutch, and what a great swing that was.”

Albernaz used Rico Garcia in the eighth with Ben Rice, Aaron Judge and Cody Bellinger due up. The result was a strikeout, fly ball and strikeout to lower Garcia’s ERA to 0.47 and opponent average to .018.

Rookie Anthony Nunez was handed the ninth inning and recorded his second save.

“Trust all our guys in the ‘pen,” Albernaz said. “Our ‘pen has been throwing well. I’m sure you guys have seen it, we like to keep our ‘pen guys’ pitch count reasonable so they’re always available and the bounce back is quicker.

“Rico did his job. It was pretty electric stuff tonight. Those are three really good hitters in the middle of that lineup. And then we felt confident giving it to Nunez.”

O’Neill made a leaping catch at the wall to rob Ryan McMahon of an extra-base hit, the right fielder’s second impressive catch of the night. He raced in earlier to make a sliding grab.

“It was hit pretty well,” O’Neill said. “Really high in the sky. I just tried to get back to the wall at a reasonable pace. I had some time to square it up and got up a little bit, enough to catch it.”

Paul Goldschmidt singled with two outs and pinch-runner José Caballero was thrown out trying to steal. A challenge reversed the call – just like Mayo spun a game.

“We’re the same team, day in and day out,” said Brandon Young. “Each game, we’re giving it our all. … We know we’re good. We know we’re one of the best in the league. We’ve just got to play and act like it.”

Young was charged with two runs and three hits in 5 1/3 innings, with three walks and five strikeouts, but deep counts early ran his pitch count to 97 and forced a bullpen move. Left-hander Dietrich Enns inherited a runner on third base and stranded him.

“B.Y., command was not his best and he knows that,” Albernaz said, “but he did a great job of just keeping us in it, and our bullpen was outstanding to kind of give us a chance.”

Young allowed eight runs in the first inning in his last two starts, and he put a pair of runners on base tonight. Trent Grisham grounded out with the count full. Rice dumped a single into center field at 3-1. Judge struck out on a 2-2 pitch. Bellinger drew a full-count walk.

Chisholm flied out on Young’s 29th pitch to keep the game scoreless, but a one-out walk to Grisham in the third was followed by Rice’s 13th home run on a 3-1 sinker.

Young retired seven in a row after Bellinger’s two-out walk in the third. Judge led off the sixth with a double down the left field line and moved to third base on a groundout before Enns entered and won both left-on-left matchups.

Taylor Ward drew his 41st walk leading off the bottom of the first, making him the only Orioles player to reach that total in his first 41 games. The next 13 batters were retired before Mayo walked with one out in the fifth.

Mayo appeared to injure his right knee diving into second base on Leody Taveras’ ground ball that resulted in an out at first. Max Schuemann landed on Mayo, who was in obvious pain but stayed in the game.

Weathers kept refusing to let the Orioles get into it.

Their offense was strikeouts, routine grounders and three fly balls to center through the sixth – nothing that hinted at a hit. Rutschman’s single was reminiscent of Tavares’ ball that broke up Cleveland left-hander Parker Messick’s no-hit bid leading off the ninth on April 16.

Weathers faced the Orioles in his last outing and allowed one earned run (three total) with three hits in five inning. He was scratched from his next start with a viral infection.

The Yankees felt sick after Mayo’s at-bat, which gave the Orioles back-to-back wins despite scoring only five runs.

“We’re all confident in ourselves and this group,” O’Neill said. “We all have been since day one. We can do, really, everything. We can pitch the ball, we’ve got a heck of a bullpen. It’s just a matter of time before we start clicking offensively all together. So really looking forward to those games and just always one swing away. The boys are always right there, just one swing away. Just got to keep grinding out there.”