Bob Nightengale

USA TODAY Sports

BOSTON - It may have been David Ortiz Day at Fenway Park Sunday, but it was the Toronto Blue Jays who were set to really celebrate Sunday as they snagged the final American League playoff berth on the last day of the season.

The Blue Jays will play the Baltimore Orioles in Tuesday's wild card game, a result ensured when the Detroit Tigers lost 1-0 to the Atlanta Braves at Turner Field.

Just minutes after the Tigers lost, the Blue Jays made sure they'll face the Orioles at Rogers Centre. Troy Tulowitzki's RBI single in the eighth inning gave Toronto a 2-1 victory and tied Baltimore with an 89-73 record.

Blue Jays starter Aaron Sanchez stole the show initially at Fenway Park, flirting with a no-hitter for seven innings.

Orioles beat Yankees, to face Blue Jays in AL wild card game

The Division Series also are set:

The Cleveland Indians will host the Red Sox in Game 1 of an AL Division Series on Thursday, with the Texas Rangers playing host to the Orioles-Blue Jays winner. In the National League, the Washington Nationals will host the Los Angeles Dodgers on Friday and te Chicago Cubs play the Giants-Mets wild card winner at Wrigley Field.

GALLERY: MLB teams celebrate postseason berths