BALTIMORE -- In a matchup of two pitchers coming off lengthy stints on the disabled list, Daniel Cabrera fared much better than Ted Lilly.
Cabrera (9-11) had not pitched since Aug. 12 because of a strained back. He struck out 10, walked one and allowed only one runner past second base.
"That's the kind of game we look for Daniel to have all the time," Orioles interim manager Sam Perlozzo said. "He was outstanding. Fantastic."
The right-hander was 0-4 in six starts since July 14, and 0-4 with a 7.85 ERA in six career starts against Toronto.
"I'll enjoy the win, enjoy the good times," Cabrera said.
Unlike Cabrera, Lilly (8-10) struggled after being activated from the disabled list before the game. Pitching for the first time since July 24 after a bout with tendinitis of the left biceps, the left-hander gave up three runs, three hits and five walks in 2 1/3 innings.
"I felt OK. I definitely felt better than the way I pitched," he said. "I was able to get in two rehab starts, so I felt I should have been more effective than I was tonight, especially with my command. You go out there and pitch like that, you really can't expect good results."
It was Lilly's first career loss against the Orioles, the only AL team against whom he was unbeaten.
Cabrera faced his toughest test in the second inning, when Corey Koskie hit a leadoff double and took third on an infield hit by Shea Hillenbrand. In the past, Cabrera would implode when faced that kind of threat.
"Damage control," Perlozzo said. "I thought, 'Holy cow, here we go again.' When he got out of that, I said, 'All right. That's a major step.'"
Toronto notched only two more hits off Cabrera, who retired 10 of the final 11 batters he faced.
"When he throws strikes, he's as good as anybody," Blue Jays manager John Gibbons said. "When he figures it out, watch out. He was on. Nobody's going to hit that guy today."
The loss dropped Gibbons' record with Toronto to 91-100.
"It's just a matter of time before you lose it. Hopefully I'll be around long enough to lose 800," he said with a grin.
Miguel Tejada doubled, walked twice and scored three runs for the Orioles, who ended a three-game losing streak.
Baltimore went up 1-0 in the second when Lilly issued two walks before Geronimo Gil hit a two-out RBI single.
Lilly's wildness also contributed heavily to a two-run third. The left-hander walked the first two batters before a single by Jay Gibbons loaded the bases. Lopez followed with a run-scoring grounder, and Alejandro Freire chased Lilly with an RBI single.
The Orioles made it 4-0 in the fifth against Brandon League. Tejada walked, took second on a wild pitch and scored on a single by Lopez.
Lopez added an RBI single off Dustin McGowan in the seventh.
Toronto has lost 13 of 18. ... The Orioles honored Cal Ripken on the 10th anniversary of his 2,131st consecutive game. After the top of the fifth inning, the numbers 2130 on the warehouse changed to 2131, just as they did on Sept. 6, 1995. ... The winner of Wednesday's game will capture the season series, which now stands at nine wins apiece. ... Toronto's Orlando Hudson went 0-for-3 with three strikeouts.