Updated

Danny Valencia hit a two-run double to help the Baltimore Orioles beat the Toronto Blue Jays, 3-1, in the rubber match of a three-game set at Rogers Centre.

Baltimore starter Miguel Gonzalez (10-7) gave up six hits, including Adam Lind's solo homer, before a groin injury ended his outing with one out in the sixth.

Nick Markakis went 2-for-4 with a walk and a run scored for the Orioles, who remain a part of the crowded AL wild-card race.

Mark Buehrle (11-9) gave up three runs -- two earned -- on six hits and three walks in five innings for Toronto, which finished 0-for-9 with runners in scoring position and stranded 11.

"It was a battle all day," Buehrle said. "I wasn't very pleased with myself."

Orioles reliever Tommy Hunter fanned Moises Sierra to get out of a bases- loaded jam he inherited in the seventh. Closer Jim Johnson pitched around a leadoff single in the ninth to record his 45th save.

Lind's leadoff blast to right field staked the Blue Jays to a second-inning lead, but a two-out hit by Valencia plated Markakis and Adam Jones an inning later.

"It was nice to come through and get those runs," Valencia said.

A two-out walk to Chris Davis with the bags full put the Orioles up 3-1 in the fourth.

Game Notes

Johnson became the fifth pitcher in baseball history to register 45 or more saves in at least two consecutive seasons ... The Orioles won their first road series against an AL East opponent since April 8-11, when they took two of three at Fenway Park.