After a wild pitch tied the game with two out in the ninth, Baltimore's Manny Machado, right, smashed a three-run homer.


BOSTON - Most of the seats were empty late on a rainy night when the Red Sox's home sellout streak of nearly 10 years ended.

Manny Machado ruined it for the fans who remained.

His three-run homer off closer Joel Hanrahan capped a five-run ninth inning and gave the Orioles an 8-5 win Wednesday night.

"It was a huge win for us," Machado said after his first homer of the year. "To come out with the victory is just going to give us the big boost that we needed to get this show rolling."

The Orioles were headed for their fourth straight loss after consecutive homers by Daniel Nava and Jarrod Saltalamacchia gave Boston a 5-3 lead in the sixth. Then Hanrahan, who was 3-for-3 in save opportunities as Boston's new closer, came on in the ninth.

"I felt fine," he said. "I got ahead of a couple of guys, and I just didn't put them away."

Chris Davis started the inning with his fifth homer before Hanrahan retired the next two batters. He was one strike from winning, but Ryan Flaherty singled on a 2-2 pitch. Nolan Reimold and Nate McLouth walked, loading the bases.

On the first pitch to Machado, Hanrahan fired the ball into the dirt for a wild pitch that scored pinch runner Alexi Casilla with the tying run. And the next pitch was Hanrahan's last of the game - Machado's homer over the Green Monster in left field. Hanrahan left to a round of boos.

"I probably would have given the same reception," Hanrahan said. "They stuck through a rain delay. They stuck it out."

The sellout streak began May 15, 2003, lasted 820 games, including the postseason, and was the longest in major pro sports history. It broke the record of 814 set by the NBA's Portland Trail Blazers from 1977 to 1995. Boston's streak of 794 regular-season sellouts also is the longest in major pro sports history. The previous longest regular-season streak in major-league baseball history was 455 set by the Cleveland Indians from 1995 to 2001.