William Nylander took his contract holdout with the Maple Leafs to the wire, but the wait is over.The two sides agreed Kolten Wong Jersey to a new deal Saturdayminutesbefore the 5 p.m. ET signing deadline, ending amonthslong standoff and narrowly avoiding a season withoutone of the NHL's most promising young talents. Nylander'scontract is for six years and worth $41.4 million ($6.9 million AAV), .SN EXCLUSIVE: The extension has a current season average annual value (AAV) of $10.2M and an out-year (years 2-6) AAV of $6.9M. Leafs PR (@LeafsPR) The extension, filed at 4:55 p.m.,is subject to league approval.Nylanderwill earn a $10 million salary with $2 million in bonusesfor the remainderof the 2018-19 season, according to TSN's Bob McKenzie, meaning he'll count $ Matt Wieters Jersey 10.2 million against the salary cap this year. The cap hit is reduced to $6.996 million starting in 2019-20.First year salary is pro rated $10M salary (6.77 M) plus a full $2M signing bonus. Net number of $8.77M. AAV of $10.2M.In out years, the AAV is $6.996M.In year two, base salary is $700K, SB of $8.3M.In remaining years, $2.5M in base salary plus $3.5M SB. Bob Stan Musial Jersey McKenzie (@TSNBobMcKenzie) The money and term is similar toBoston's DavidPastrnak(six years, $40 million). Nylander's agent and Toronto general manager Kyle Dubaswere said to have been $2 million AAVapart as recently as November, with Nylander's camp seeking a deal closer to the $8.5 million AAVof Edmonton's Leon Draisaitl.The compromise, then, is a win for Dubas and the Maple Leafs, who managed to salvage a sticky situation a lock up a young a set long term at a reasonable rate.Nylander, 22, hadbeentraining on his own in Sweden during the holdoutand won't be on-hand for Toronto's game Saturday night in Minnesota. But he could rejoin the team in time Chris Beck Jersey for Tuesday's trip to Buffalo, where he's expected to pick up where he left off after back-to-back 61-point seasons alongside Auston Matthews and the Leafs' dynamic group of forwards. Toronto had gone 18-8-0 in his absence, entering Saturday in third place in the Atlantic Division.Nylander would have been forced to sit out the rest of the 2018-19 season if the sides couldn't agree to terms by Dec. 1, leading to rumors about po sible trades.That could still hold true, as the cap-strapped Leafs have to make significant decisions this summer with Matthews and Mitch Marnerrequiring new contracts of their own. But that's a question for another day.In the meantime, it appears everyone is on board to chase a Stanley Cup this season, as originally intended after Red Schoendienst Jersey the Leafs signed John Tavares in the offseason.