The New Jersey Devils agreed to a two-year extension with goalie Jacob Markstrom on Friday, with an average annual value of $6 million.

Markstrom, 35, was entering the final year of his contract, which had the same cap hit. This move helps the Devils lock in a three-year window in which they believe their group can contend.