CHICAGO — Carl Edwards Jr. pulled a "W'' flag over his shoulders and danced in the middle of the clubhouse. Ben Zobrist wiggled from side to side as ice cubes tumbled down his back to the drenched floor. David Ross closed his eyes as a bottle of beer was poured over his head.

The Chicago Cubs had to wait until Friday to celebrate their NL Central title, but they quickly made up for lost time.

Moments after Miguel Montero's 10th-inning homer lifted Chicago to a 5-4 victory over Milwaukee, the Cubs pulled on postseason hats and shirts and then partied all over Wrigley Field. It began with pictures and hugs all over the infield, and then transitioned to a boozy segment in their plush clubhouse before returning to the field to wave to their delirious fans and pose for more pictures with family and friends.

"We enjoy each other and we have fun together," Zobrist said, "and that's (what) makes this kind of situation fun. Even if it's just a regular win on a regular day, we still enjoy each other and we have fun for about a half-hour and then we're done. But this one will last a little bit longer than that."

The Cubs became the first major league team to clinch their division when St. Louis lost at San Francisco late Thursday night. They had a chance to wrap it up on the field, but Scooter Gennett's tiebreaking two-run double in the seventh lifted Milwaukee to a 5-4 win earlier in the night.

Manager Joe Maddon and the players were long gone from Wrigley by the time the Giants finished off the Cardinals. But they were clearly ready to go on Friday.

A DJ played thumping dance music as the players and coaches sprayed each other with beer and champagne. It was mostly quiet for a short time while owner Tom Ricketts toasted executives Theo Epstein and Jed Hoyer and "the best team in all of baseball," and then the party was on once again.

"It's always great to go to October," Epstein said. "But to go in with a group of guys that you really believe in and that are committed and connected and understand what's at stake and want so badly to make it happen is great. I wouldn't trade our 25 for anyone else's."

The division had seemed like a foregone conclusion ever since Chicago got off to a 25-6 start, serving notice that all the preseason hype was justified. Led by MVP candidates Kris Bryant and Anthony Rizzo and a ridiculously deep pitching staff, the Cubs are on top of the majors with a 94-53 record.

It is 108 years since Chicago last won the World Series in 1908, a drought the Cubs hope to end this year. But in the meantime, they weren't taking the NL Central title for granted.

"Winning your division, that's a highlight," Maddon said. "It's always a highlight. Being able to avoid a wild-card game ... you really want to avoid that if you possibly can."