NEW YORK — Never before has a loss been forgotten so quickly.

In the moments after Mark Teixeira's walk-off grand slam capped a five-run New York ninth inning in the Yankees' 5-3 victory on Wednesday night, the Red Sox crossed the threshold from disappointment to elation. They exchanged the misty chill of a raw night in the Bronx for the stinging spray of Chandon and Budweiser, a division title claimed.

For Boston, Teixeira's heroics were meaningless. Baltimore's own comeback win in Toronto had handed the Red Sox the American League East some 15 minutes earlier. A loss that would have felt devastating under most circumstances didn't feel like a loss at all.

"Tonight is not about that," Jackie Bradley, Jr. said of the loss. "As soon as we got in here, we quickly got over it."

"Don't let one inning take away from what they've done for seven full months," said manager John Farrell. "We are A.L. East champions."

The scene in the visiting clubhouse in the Bronx was cathartic. After two seasons of playing out the September string during last-place finishes, the Red Sox could enjoy a hard-earned celebration. The champagne and beer flowed freely, with players snapping selfies, Facetiming their families and reveling in the chaos.

"This never gets old," principal owner John Henry said.

"I'm going to drown in this, man," said David Ortiz, the centerpiece of a division winner for the third and final time.

"We already got him to the playoffs," said Xander Bogaerts. "We've got to just get him to the World Series. We all saw what he did in 2013."

President of baseball operations Dave Dombrowski exchanged his customary sweater or suit jacket for a sweatshirt. He ambled across the drenched tarpaulin covering the clubhouse floor in his socks, his hair matted down by Budweiser.

"I've learned," said an executive who's now won division titles in five of the last six seasons. "First time, I ruined a good pair of shoes."

In the back of the clubhouse, bench coach Torey Lovullo sought out Farrell for a bear hug.

"I told him I loved him," said Lovullo, the man who took the helm for Farrell the last six weeks of the 2015 season while the manager underwent treatment for cancer. "For what he's done, to come out the other side health-wise, he's the leader of this team. It's very satisfying for all of us that have been behind him."

"I'm fortunate, fortunate to be in this position," Farrell said. "I'm proud to be in this uniform, proud to be associated with our coaches and our players.

"We had two tough years. But at the same time, it was true meaning in the struggles — the young players being afforded opportunity to come to life. We're benefiting from that now."

"It's a good time to be in Boston," said Bogaerts.

As the Red Sox celebrated one achievement, though, they prepared themselves for another. This champagne celebration is just the first of a possible four, they pointed out.

"By no means is this the end," Farrell said. "We've got three more stops to meet our goal."

"Where we are now, I wouldn't want to play us," said Henry.

"You also know that this is one step," Dombrowski said. "We have other goals left to achieve."