Patrick Marleau is officially hanging up his skates.

The 42-year-old announced his retirement from hockey Tuesday, closing the book on a 23-year career spent between San Jose, Toronto and Pittsburgh. Through 1,779 games, Marleau amassed 566 goals and 1,197 points, while adding another 72 goals and 127 points in 195 postseason contests.

Marleau played 21 of his seasons with the Sharks, who selected the player from Swift Current, Saskatchewan, second overall in the 1997 NHL Entry Draft. While Marleau never won a Stanley Cup, he holds Sharks franchise records in career games played, goals (522), points (1,111), power-play goals (163), shorthanded goals (17), game-winning goals (101) and shots (3,953).