The New York Yankees eclipsed the MLB all-time record for most team home runs in a season on Saturday against the Boston Red Sox at Fenway Park.

Second baseman Gleyber Torres' two-run homer in the fourth inning gave the Yankees No. 265.

New York tied the 1997 Seattle Mariners' record of 264 team homers in Friday's win over the Red Sox while clinching home field for the American League Wild Card game against the Oakland Athletics.

"I'm happy for them. They work really hard at their craft, and it's a result of a lot of people having success," manager Aaron Boone said.

The Yankees are also the first team to ever have 20-plus home runs from all nine spots in the batting order in a season.

"A lot of cool things happened for our team today, so it was a good day," said Giancarlo Stanton, who also had an RBI single in the first and reached 100 RBI in his first season with New York.

***