He played 22 seasons in the National Hockey League for the Toronto Maple Leafs , the New York Rangers , the Pittsburgh Penguins , and Buffalo Sabres . He played in 24 seasons in the National Hockey League for the Toronto Maple Leafs , New York Rangers , Pittsburgh Penguins , and Buffalo Sabres .