TORONTO (AP) — Edwin Encarnacion hit a three-run homer in the 11th inning off Ubaldo Jimenez, and Toronto Blue Jays beat the Baltimore Orioles 5-2 in Tuesday night's AL wild card game to advance to a Division Series matchup against Texas.

Jimenez relieved Brian Duensing with one out in the 11th, and Devon Travis singled in a 1-1 pitch. Reigning AL MVP Josh Donaldson singled on the next pitch, and Travis went all the way to third as left fielder Nolan Reimold bobbled the ball.

With the infield in, Encarnacion sent the following pitch, a 91 mph fastball, soaring into the second deck in left. Encarnacion immediately knew it was gone and raised both arms in triumph, index fingers pointed skyward.

"We were fortunate we had the last at-bat," Blue Jays manager John Gibbons said.

Baltimore used seven of its 10 pitchers but closer Zach Britton, who was perfect in 47 save chances with a .0.54 ERA during the regular season, never got in the game.

More From 1460 ESPN