A former Mets star and new World Series champion is retiring on top.

Houston Astros' outfielder Carlos Beltran made the announcement in a blog post.

Beltran's capped off his MLB career by hoisting his first World Series trophy, when the Astros beat the Dodgers in Game 7 on Nov. 1.

The nine-time All-Star played 20 seasons, starting his career with the Kansas City Royals.

Beltran spent some of his prime years in New York, playing six-and-a-half seasons with the Mets, for whom he ranks sixth in franchise history in home runs and RBIs.

He also played two-and-a-half years with the Yankees, for whom he earned his last All-Star nod in 2016.

There is already speculation that Beltran could be a good fit to replace former Yankees manager Joe Girardi.

Beltran said his decision to leave has nothing to do with the Astros' championship win. He said he made up his mind over the summer.