It took a while but the Twins took down King Felix and his court on Friday.

First they ruined his shutout bid with Trevor Plouffe’s pinch-hit RBI single in the ninth. Then they outlasted the Mariners in extra innings as Chris Colabello’s two run homer in the 13th gave the Twins a 3-2 victory.

It couldn’t have been a better spot for Colabello’s first major league home run. He endured seven seasons of independent league ball and one season at Class AA New Britain last year before finally getting his big-league shot this season. He was batting .135 in 13 games before entering the game as a pinch hitter in the eight inning on Friday. He grounded into a double play.

After Aaron Hicks led off the 13th with a single Colabello slammed the first pitch he saw from Yoervis Medina into the right field seats.

Closer Glen Perkins gave up a leadoff homer to Kendrys Moralez in the bottom of the 13th but helped bail himself out by coaxing Justin Smoak to hit into a double play and got his 25th save. Dustin Ackley then hit a wicked grounder up the middle that shortstop Pedro Florimon initially bobbled then recovered in time to throw him out and end the game.

Earlier the Twins were on their way to being mincemeat at the hands of Seattle starter Felix Hernandez when they found a way to ruin the ace righthander’s night.

After being dominated for eight innings Friday the Twins got a megaclutch game-tying RBI single from Trevor Plouffe in the ninth.

Florimon led off the inning with a single to left. Brian Dozier bunted him to second and Twins manager Ron Gardenhire looked down his bench and went to Plouffe who was 1-for-19 over his past six games with 10 strikeouts. On an 0-2 pitch Plouffe blooped a Hernandez pitch into center field as Florimon scored the tying run.

And on to extra innings they went. Before that Hernandez was on his way to another masterpiece against the Twins. He was working on a three-hit shutout with nine strikeouts heading into the ninth.