Brendan Shanahan is staying with the Toronto Maple Leafs for the long haul.

The team announced a six-year extension for its president that takes Shanahan through the 2024-25 season.

“Brendan’s positive impact on this team has not only been felt on the ice, where the team is on an impressive path, but throughout the league, with the Leafs alumni, and in the community. We look forward to continued success for the Maple Leafs under Brendan’s leadership over the next six years," said Maple Leafs Sports and Entertainment chairman Larry Tanenbaum in a statement.

Shanahan, 50, joined the club in 2014 after five years in the NHL front office that saw him rise up to senior vice-president and head of discipline.

“When MLSE approached me several months ago to discuss an extension, I told them this would be quite simple as I’ve had no desire to leave what we’ve started here with the Maple Leafs,” Shanahan said in a statement. “I’m thankful to the Board of Directors, our coaches, trainers, management and office staff, and especially our players for the professionalism and dedication they display every day.”

Among the significant moves made by the Leafs during Shanahan's tenure were the hiring of Mike Babcock as head coach, the hiring of Lou Lamoriello as general manager, the hiring of Kyle Dubas and promotion to general manager, the drafting of Auston Matthews and the signing of John Tavares as a free agent.

A native of Etobicoke, Ont., Shanahan spent 21 seasons in the NHL with the New Jersey Devils, St. Louis Blues, Hartford Whalers, Detroit Red Wings and New York Rangers.

An eight-time All-Star, Shanahan won three Stanley Cups.

Internationally, Shanahan won gold medals with Canada at the 1991 Canada Cup, 1994 IIHF World Championship and the 2002 Winter Olympics.

He was inducted into the Hockey Hall of Fame in 2013.