SAN DIEGO (AP) -- Let's play 22!

Colorado and San Diego did just that Thursday night and into Friday morning, slogging through a 22-inning game that was the longest in the majors in nearly 15 years.

The Rockies finally won 2-1, with Troy Tulowitzki's two-out RBI double bringing in Willy Taveras with an unearned run in nearly empty Petco Park. A game that lasted 6 hours, 16 minutes was decided by an unearned run.

Reigning NL Cy Young Award winner Jake Peavy threw the game's first pitch at 7:05 p.m. The game didn't end until 1:21 a.m., when Padres pitcher Glendon Rusch took a called third strike. Colorado's Yorvit Torrealba, who caught all 22 innings, wearily pumped a fist in celebration.

"It's tough to keep your head into it and put together good at-bats and be into every pitch," Tulowitzki said. "We were talking about how our legs were hurting out there. It's tough to stand on your feet for 22 innings and keep moving."

Manager Clint Hurdle noticed that his players were a little tight.

"This was a good game to get outside yourself," Hurdle said. "About the 16th inning, I said, 'Hey boys, no matter what's in front of us, there's a world of people out there who've got harder rows to hoe than we do. No matter what happens the rest of the night, have some fun with this thing.' "

His players listened. It just took them six more innings to score a run.

"It's definitely better to win in a 22-inning game than lose, I'll tell you that," Tulowitzki said.

It was the longest game since Aug. 31, 1993, when Minnesota beat Cleveland 5-4 in 22 innings. It was also the longest game in Rockies history and in the 5-year history of Petco Park. It was the longest by innings for the Padres, and one minute short of matching the longest by time for San Diego.

There's something about these two teams and extra innings. On Oct 1., Colorado rallied past the Padres for a 9-8 win in 13 innings in the wild-card tiebreaker game.

There was a little bit of everything, but far too little offense on Thursday. There were planes to catch -- The Rockies open a series Friday in Houston and the Padres will be at Arizona -- but the game was scoreless until the 14th inning. Wouldn't you know it, each team scored a run that inning to prolong it.