The Angels had gone 21-5 prior to a three-game series with the Baltimore Orioles that began Monday. The confidence level of the team was sky high. But the Orioles took the first two games of the series.

No problem. The Angels — after seven innings of frustration — scored two runs in the bottom of the eighth inning off relievers Tommy Hunter and Brian Matusz to defeat the Orioles 3-2 on Wednesday before 40,185 at Angel Stadium.

Erick Aybar had an RBI double in the pivotal inning off Hunter (2-2) and Kole Calhoun worked Matusz for a bases-loaded walk.

Through seven innings, the Angels had left eight men on base. They left two runners in scoring position in the first, with runners on first and second in the second inning had Chris Iannetta picked off second, left Albert Pujols in scoring position in the third, left two runners in scoring position in the fifth and two more in the sixth. With one out in the seventh and Trout at first via a walk, Pujols grounded into a double play. The Angels were 0 for 12 with runners in scoring position.

Jered Weaver (11-6) picked up the victory. He tossed eight innings and gave up two earned runs while striking out six and walking none.

Angels manager Mike Scioscia was stoked about the victory, his team’s struggles with men on base notwithstanding.

“It looks like 0 for 12 with runners in scoring position tonight, but I thought we hit the ball really well with guys on base,” he said. “In the eighth inning, it was a big hit, obviously, from Josh (Hamilton) to get on with a bloop hit. Erick did a great job; their outfielders really pinch him and he split the gap, which got Josh home. Great at-bats from Chris (Iannetta) and Kole to get that other run across.”

Iannetta walked to load the bases for Calhoun.

Aybar’s RBI double was to left-center, tying the score.

“It was big,” Aybar said of the victory. “We know sometimes we struggle. But, yeah, that series is over and now we’re starting a new series with Detroit and leave the past behind.”

Chris Tillman went six innings for the Orioles. He allowed an earned run on five hits while striking out three and walking two and was poised for the victory until the Angels rallied in the eighth.