Pete Mackanin is out as Philadelphia Phillies manager after 2½ seasons but will remain in the dugout for the final three games this weekend and return as a special assistant to General Manager Matt Klentak in 2018.

“I’m disappointed, surely,” Mackanin said Friday. “But I understand it and I’m happy to be part of it down the road. I believe in Matt Klentak and I believe in what he’s doing and the fact that he wants me to continue in this (new) capacity is the most important thing.”

The Phillies are 64-95 this season, last in the NL East and with the second-worst record in the league. Philadelphia has not been to the postseason since 2011.

Mackanin, 66, succeeded hall of famer Ryne Sandberg on June 26, 2015. His record with Philadelphia is 172-237.

“Pete is a trusted ally, a partner in this rebuild and a friend,” Klentak said. “I’m very happy he’s agreed to stay with us.”

Aid for Puerto Rico

A crowd-funding campaign started by Houston Astros outfielder Carlos Beltran has raised nearly $1.3 million to help with hurricane relief in his native Puerto Rico.

Beltran and his family donated $1 million to initiate the fund this week. He said Friday that with the assistance of Astros owner Jim Crane, he also helped secure two planes in Houston that were expected to land on the island later in the day, carrying 300,000 pounds of supplies.

It’s not good, man,” Beltran said. “It’s been nine days and people are not really getting anything.”

Twins activate Sano

Minnesota Twins slugger Miguel Sano is coming back just in time for the playoffs.

The Twins activated their All-Star third baseman Friday in time for the season’s final series against Detroit. Sano has missed 38 games with a stress reaction after fouling a ball off his left shin, and had been on the 10-day disabled list.

Sano is hitting .267 this season with 28 home runs and 77 RBI.

Award honors Mays

Major League Baseball has named its World Series Most Valuable Player award after Willie Mays.

The decision was announced Friday, the 63rd anniversary of Mays’ back-to-the-plate catch in deep center field at the Polo Grounds for the New York Giants against the Indians’ Vic Wertz in the World Series opener. The Giants went on to sweep the Indians.

Pitcher has surgery

Seattle Mariners right-hander Hisashi Iwakuma had right shoulder surgery that will keep him from throwing for about five months.

The shoulder debridement was done Wednesday in Dallas by Dr. Keith Meister. Iwakuma could resume throwing in February.

Around the bases

Colorado Rockies’ Charlie Blackmon set a major-league record for most RBI in a season (101) by a leadoff man. ... Chicago Cubs pitcher Jake Arrieta will likely miss his final regular-season start Sunday to rest before the playoffs.