The New York Yankees beat the Minnesota Twins 8-4 in the American League Wild Card game on Tuesday night.

The Twins, playing in the postseason for the first time since 2010, knocked New York Yankees ace Luis Severino out of the game in the top of the first inning with a pair of home runs. 

New York tied the game in the bottom of the first on a three-run home run by Didi Gregorius. The first inning lasted 46 minutes in the near 4-hour game.

Brett Gardner clubbed a solo homer in the bottom of the second inning. Greg Bird singled home Gary Sanchez in the bottom of the third inning with two outs to give the New York the lead for good.

Aaron Judge, the American League home run leader, gave the home team a cushion in the fourth inning. With two outs, Judge homered to left field off Jose Berrios to put the Yankees ahead 7-4. Berrios relieved Ervin Santana, who lasted just two innings before getting pulled.

The Twins started fast.

On the fifth pitch of the game, Brian Dozier put Minnesota ahead 1-0 with a solo home run to left field. They weren't done battering the Yankees' hard-throwing ace, Severino, however.

With one out, Jorge Polanco walked to bring up Eddie Rosario. On a 3-2 pitch, Rosario lined a two-run homer into the right-field seats for a 3-0 Minnesota lead.

Severino, who posted a 2.98 earned run average during the regular season, lasted just six batters before being pulled by Yankees manager Joe Girardi.

Dozier and Eduardo Escobar had two hits each for the Twins.

Gardner, Judge and Sanchez had two hits apiece for the Yankees.

David Robertson, who worked 2 2/3 innings, was credited with the win for the Yankees, who used five pitchers. Minnesota used six.

The Yankees advanced to the American Legion Division Series against the Cleveland Indians. Game 1 is Thursday in Cleveland.