He managed the Mets longer than anyone else.

Collins has managed 13 years in the majors with Houston, the Angels and Mets, going a combined 995-1,017.

"I did it a long time," he said.

When Collins and Phillies manager Pete Mackanin exchanged lineup cards at home plate, the two men hugged before walking away.

It was announced on Friday that Mackanin would not return as Phillies manager in 2018. Instead, he will transfer to a front office role as senior adviser to general manager Matt Klentak.

A couple fans at Citizens Bank Park held up signs thanking Collins for his efforts.

The New York Post reported last Wednesday that longtime Mets pitching coach Dan Warthen, who predates even Collins on the staff, is likely to be let go. And in the past few days,things turned particularly ugly amid anonymously sourced reports of sniping by players and friction between Collins and the front office - partly over how he's handled the bullpen.

"Terry's a great person. He's helped me out a lot through my baseball career," catcher Travis d'Arnaud said after the Mets' home finale Wednesday. "He's been a tremendous help for me. He's an amazing person. Fiery person, and definitely molds a lot of players and brings out the fire in a lot of guys."

Collins ranks second to Davey Johnson (595) among Mets managers in wins.

General manager Sandy Alderson is finishing up a three-year contract but is widely expected to return even though the injury-ravaged Mets dropped out of the NL East race early this year.

Two years ago, Alderson and Collins directed