Dillon Brooks has agreed to a three-year, $35 million contract extension with the Memphis Grizzlies.

Brooks was set to be a restricted free agent in the offseason.

Brooks was a second round pick out of Oregon in 2017.

Brooks is averaging 16.1 points, 3.4 rebounds and 2.1 assists in 50 games while shooting 40 percent on three-pointers.