Denver has decided to lock up Jamal Murray.

The Nuggets and the fourth-year guard have reached an agreement on a five-year maximum contract extension worth $170 million, Murray's agent, Mike George, told The Athletic.

According to TSN, the deal makes Murray the highest-paid Canadian athlete ever.

Murray was set to become a restricted free agent next summer and is scheduled to make about $4.4 million in 2019-20. He is the latest John Calipari-coached player to cash in on a major payday after Derrick Rose, John Wall, Anthony Davis, Karl-Anthony Towns and Devin Booker also inked contracts worth more than $100 million.

Given Nikola Jokic agreed to a five-year max contract worth $148 million last offseason, both Murray and the Serbian big man will be under contract through at least 2022.

Murray, 22, was selected seventh overall by Denver in 2016. He's coming off the best season of his career so far after averaging 18.2 points, 4.8 assists, and 4.2 rebounds on 43.7 percent from the field and 36.7 percent from beyond the arc in 32.6 minutes per game.