BALTIMORE -- The Baltimore Orioles had just finished beating Boston for the first time in 14 tries, and Kevin Millar wasn't about to dismiss the significance of the victory -- or the pleasure he derived from helping beat his former teammates.
"It's a win that we needed to have, but it's also special because I competed with these guys the last three years," said Millar, whose two-run homer gave Baltimore a lead it never lost Wednesday night in a 4-3 victory. "It was a lot of fun."
Erik Bedard pitched seven innings of two-hit ball for the Orioles, who had lost 13 straight to Boston -- including eight this season -- since Sept. 2, 2005. The victory also enabled Baltimore to end an eight-game home skid against the Red Sox.
"The win was big," Orioles manager Sam Perlozzo said. "Now that the streak is gone, we can all focus on trying to beat that club a couple more times."
David Ortiz hit his 13th homer and had three RBI for the Red Sox, who had won 10 of 14.
Bedard (5-2) gave up one run, a pair of doubles and three walks. The left-hander, who came in with a 7.57 ERA in six career starts against the Red Sox, struck out three. It was his first victory in five starts since April 20.
In his last start against Boston on May 6, Bedard yielded six runs in two innings. In the encore, he was nothing short of overpowering.
"I just threw strikes. I was real aggressive with my fastball, and I threw strikes on my other pitches. That was the important thing," he said.
The game ended with pinch-runner Willie Harris being called out on a close play while trying to steal second.
"We always want him to be safe. From where I was sitting it looked like it, but that's the way it goes," Boston manager Terry Francona said. "The game wasn't lost in the ninth; in the middle innings we just didn't do anything."
The Red Sox went up 1-0 in the first inning, then went hitless until Manny Ramirez led off the seventh with a double. In the meantime, the Orioles took a 4-1 lead.
Removed from the starting lineup Saturday because of his .220 batting average, Millar displayed the results of his recent sessions with batting coach Terry Crowley by going 2-for-2 with a walk. He was also hit by a pitch.
"Obviously the past three or four days have been tough mentally, but tonight I had some good swings. I was really thinking about what we've been doing in the cages," Millar said.
Baltimore made it 4-1 in the fifth. Melvin Mora singled, took third on a double by Miguel Tejada and scored on a groundout by Ramon Hernandez. Tejada took third on the play and came home on a wild pitch.
That was more than enough offense for Bedard, who was pulled after throwing 100 pitches.
"We got a run early and he just kind of settled down and didn't give us many opportunities," said Trot Nixon, who went 0-for-3.
Wakefield allowed four runs and eight hits in seven innings. He struck out six and walked three.
Bedard also walked the leadoff hitter in the second and third innings, but avoided any damage. After giving up a free pass to Youkilis in the third, he retired 11 straight before Ramirez's double.
- Baltimore 2B Ed Rogers got his first major league start, batting leadoff and going 1-for-4.
- Boston played its seventh straight errorless game. The Red Sox have made only one error in their last 13 games.
- Boston's 13-game run against the Orioles was its second-longest against an opponent in the last 50 years, topped only by its 15-game streak against Seattle in 1977-78.