Updated

Stepping to the plate with a chance to become the 17th player in baseball history to hit four home runs in a game, Chris Davis had one thing in mind.

"I was thinking about trying to work a walk," Davis said with a wry grin.

Davis didn't get that fourth homer, but three was quite enough to power the Baltimore Orioles to a 6-4 victory over the skidding Toronto Blue Jays on Friday night.

Davis hit solo shots off Carlos Villanueva (6-4) in the second and fourth innings, then greeted Steve Delabar in the sixth with an opposite-field, two-run drive to left field to put Baltimore up 5-1.

Facing Brad Lincoln in the eighth inning, Davis took three mighty swings but struck out on four pitches.

"I was definitely thinking about the home run," Davis said. "He gave me a good pitch to hit on the first pitch and I fouled it off. He was tough after that, but the biggest thing is we get the win and I enjoyed a pretty good night."

To say the least.

It was the first three-homer game for Davis, whose previous high was two on May 26, 2009, against the Yankees as a member of the Texas Rangers. The three home runs gave him 23 for the season, eclipsing his previous career high of 21 in 2009.

After the last one, Davis stepped out of the dugout to acknowledge the request for a curtain call by the crowd of 25,754. He's the 19th Oriole to hit three home runs in a game, the first since Nick Markakis in August 2006.

"It was awesome," Davis said of the ovation. "I mean, these fans have been awesome all year."

On Wednesday night, Adrian Beltre hit three homers for Texas against Baltimore. The Orioles, who were off Thursday, become the first team in major league history to be involved in two straight games in which a player homered three times, according to the Elias Sports Bureau.

Zach Britton (3-1) allowed two runs and four hits in 6 2-3 innings for the Orioles, who have won seven of 11 to remain in the thick of the AL wild-card race.

After Jeff Mathis hit a two-run homer off Matt Lindstrom in the ninth, Jim Johnson got three outs for his 39th save.

It was the sixth straight defeat for the last-place Blue Jays and their season-high seventh consecutive loss on the road. But Toronto did, at least, end a run of seven successive games without scoring more than three runs.

Unfortunately for the Jays, their offensive outburst wasn't enough to overcome Davis' three long balls.

"He had a good day," Villanueva said. "He's capable of doing that. You make some mistakes, he did what you're supposed to do with them. Especially the last two. He won them the ballgame, simple as that."

Earlier in the day, the Blue Jays activated Jose Bautista (left wrist inflammation) from the 15-day disabled list. Playing in his first major league game since July 16, Bautista went 0 for 4 with two strikeouts.

Toronto went up 1-0 in the second inning when Edwin Encarnacion doubled and came home on a single by Kelly Johnson. The Blue Jays didn't get another hit until Encarnacion singled with two outs in the sixth.

Davis connected on Villanueva's first pitch in the bottom of the second. It was the 66th home run in the 21-year history of Camden Yards to land on Eutaw Street in front of the B&O Warehouse, the third hit by Davis.

In the fourth, Orioles shortstop J.J. Hardy dived behind second base to make a sensational stop on a grounder by Johnson and got a force out with a backhanded flip to second.

Davis homered to center on a 2-2 pitch in the fourth. His sixth-inning drive, on Delabar's second pitch, followed a sacrifice fly by Matt Wieters.

Toronto's Rajai Davis doubled in a run in the seventh before Brian Matusz struck out Colby Rasmus on three pitches. It was the first relief appearance by Matusz after 68 career starts.

NOTES: The Orioles recalled Matusz from Triple-A Norfolk, designated LHP J.C. Romero for assignment, activated INF Ryan Flaherty from the DL and optioned RHP Tommy Hunter to Double-A Bowie. ... Baltimore RHP Jason Hammel, (15-day DL, right knee) threw a simulated game off the mound at Camden Yards. The Orioles will check his knee for swelling Saturday before determining the next step for his return. Also, INF Wilson Betemit (right wrist) could begin a rehabilitation assignment as soon as Tuesday. ... After the game, the Blue Jays activated RHP Brandon Morrow from the DL and will start him on Saturday night. Toronto also activated Yunel Escobar from the paternity list and optioned OF Anthony Gose and SS Adeiny Hechavarria to Triple-A Las Vegas.