ANAHEIM—The Anaheim Ducks and Head Coach Randy Carlyle have agreed to contract terms through the 2018-2019 season, the team disclosed on Friday, June 2. Along with the extension comes an option for the 2019-2020 season.

“It was basically up to us to accomplish a few things. There was some strategic points along the way that had to be hit, and that’s what we were looking at, to build a championship,” disclosed Carlyle in a statement on Friday.

Carlyle was first sworn in as the Ducks head coach at the start of the 2005-2006 season (when the team was known as the Mighty Ducks of Anaheim). In 2007, he led the team to a Stanley Cup win, becoming the first Ducks coach in history to do so.

He departed from organization in 2011 and went on to coach the Toronto Maple Leafs from 2012 to 2015. He played for the team during the 1976-1978 NHL seasons.

On June 14, 2016, it was announced that Carlyle would commence his second spell with the Ducks. This past season, he helped the Ducks win the Pacific Division with a 46-23-13 record. With a 319-205-74 record, Carlyle holds the most coaching wins in the Ducks’ history.

“We made great strides this past season and clearly Randy was at the center of that,” said General Manager Bob Murray in a statement. “He’s committed to this organization and to winning another Stanley Cup.”

This year, the team advanced to the Western Conference Finals, where they lost to the Nashville Predators in the third round of the playoffs.

Team officials, including Carlyle, have confirmed that Assistants Trent Yawney and Rich Preston will return this coming season, along with goaltending coach Sudarshan Maharaj. Assistant Coach Paul MacLean has parted ways with the team, and Carlyle declined to disclose additional details on MacLean’s leave.

Defensemen Hampus Lindholm and Sami Vatanen are likely to be absent at the start of the upcoming season. On Tuesday, both players underwent shoulder operations to repair a torn labrum.

Carlyle said of Lindholm and Vatanen’s pending absences:

“It won’t be any different than what we had last year because we were minus some personnel. Understand we did that this year and all of a sudden we had four or five young players that were transitioning into our lineup that made a positive impact at the end of the year. I’m not saying that’s an ideal situation, but that’s what you have to do.”