The Minnesota Twins defeated the Detroit Tigers 6-5 on Tuesday evening in the twelfth inning of a tense game, clinching the American League Central title.

Each team was playing their 163rd game, a tie-breaker after they tied for wins and losses during the 162 game season.

The Twins will face the New York Yankees in the first round of the postseason on Wednesday.

The Twins last won the division title in 2006. Detroit hasn't won a division since 1987.

See pictures of the game below:

Minnesota Twins players celebrate after scoring the winning run on a hit by Alexi Casilla in the 12th inning during their MLB American League Central Division playoff baseball game against the Detroit Tigers in Minneapolis, Minnesota October 6, 2009. REUTERS/Jeff Haynes
Detroit Tigers Miguel Cabrera swings for a called strike during the sixth inning of their MLB American League baseball game against the Chicago White Sox in Detroit, Michigan October 3, 2009. Cabrera released a statement Monday apologizing for an incident at his suburban Detroit home over the weekend where his wife called 911 requesting police assistance after Miguel Cabrera arrived home drunk with a reported alcohol blood level three times the limit for driving, police said. Picture taken October 3, 2009. REUTERS/Rebecca Cook
Detroit Tigers' Curtis Granderson (front) slides safely into second base in front of Minnesota Twins shortstop Orlando Cabrera in the third inning during their MLB American League Cental Division playoff baseball game in Minneapolis, Minnesota October 6, 2009. Granderson scored later in the inning on a single by teammate Magglio Ordonez. REUTERS/Eric Miller
Detroit Tigers Gerald Laird is out at home-plate as he collides with Chicago White Sox catcher Ramon Castro during the eighth inning of their MLB American League baseball game in Detroit, Michigan October 4, 2009. REUTERS/Rebecca Cook
Detroit Tigers Ryan Raburn is congratulated at home-plate by Brandon Inge after scoring from third after a bases loaded walk against the Chicago Whites Sox during the first inning of their MLB American League baseball game in Detroit, Michigan October 4, 2009. REUTERS/Rebecca Cook