The Winnipeg Goldeyes squeaked out an unusual win Saturday night in what became the longest game in the American Association league's history.

The game, spanning five hours and 25 minutes, ended with a 12-11 Goldeyes win versus the Kansas City T-Bones in the bottom of the 14th inning.

With the score tied going into the bottom of the final inning, T-Bones right-handed pitcher Matt Sergey — who had just tossed seven innings in a match two days prior — came in to throw for his team using his opposite hand.

FISH WIN FISH WIN! 5 hours and 25 minutes later, a wild pitch drives in a run... 🐟 defeat <a href="https://twitter.com/tbonesbaseball">@tbonesbaseball</a> 12-11! <a href="https://t.co/FoS0fIfT8f">pic.twitter.com/FoS0fIfT8f</a> —@Wpg_Goldeyes It was an unusual gambit that appeared to go awry after two back-to-back walks and a sacrifice bunt led the T-Bones to intentionally walk a Goldeyes player.

On tossing the second ball, Sergey's pitch sailed out of the reach of the catcher and allowed the Goldeyes to score the winning run.

"It was a strange night pretty much all night, but certainly the ending was unique, and probably anyone who stuck it out to the end saw something unique," said team general manager Andrew Collier.

The American Association requires teams to throw live pitches when intentionally walking a batter.

"I thought the guys did a great job battling back," said manager Rick Forney. "You have to be able to win more than one way."

Forney, whose professional baseball career spans 26 years, said Sergey's pitching switch was something new to him.

"I've never seen someone pitch with their opposite hand. Sergey is a great pitcher … he volunteered himself and we were able to outlast them. It wasn't pretty but it worked," Forney said in a statement.

The previous record for longest AA game was a May 20, 2011 matchup between the Wichita Wingnuts and El Paso Diablos which lasted five hours, 22 minutes.

The Goldeyes lost to the T-Bones 13-2 in a rematch Sunday afternoon.