© 2014 MLB Advanced Media, L.P. All rights reserved.

7/30/2014 3:47 A.M. ET

Lengthy affair brings records, rare feats for Rox, Cubs

CHICAGO -- The Cubs and Rockies took part in a 16-inning marathon Tuesday night at Wrigley Field that extended into Wednesday morning.

The Cubs came out victorious, 4-3, after six hours and 27 minutes, when shortstop Starlin Castro drove in backup catcher (and winning pitcher) John Baker with a sacrifice fly.

A couple of short notes from a long game:

• Tuesday's game, time-wise, was the longest in the history of both franchises. The old record for the Cubs was a six-hour, 10-minute game between the Cubs and Dodgers on Aug. 17-18, 1982 that lasted 21 innings.

The Rockies' previous record was a six-hour, 16-minute affair with the Padres on April 17, 2008 that lasted 28 innings.

• Baker became the first Cubs position player to pitch in a game since Joe Mather on Aug. 27, 2012 against Milwaukee. He became the first Cubs position player to earn a win as a pitcher. Baker is also the first position player to earn a win in the Majors since Baltimore's Chris Davis, who did so on May 6, 2012 against Boston.

The last National League position player to earn a win was Philadelphia's Wilson Valdez on May 25, 2011 against the Reds.

• The Cubs' and Rockies' bullpens combined to allow one run on nine hits in 21 2/3 innings, striking out 21.

Cash Kruth is a reporter for MLB.com. Follow him on Twitter at @cashkruth. This story was not subject to the approval of Major League Baseball or its clubs.