Photo: New Orleans Pelicans/Twitter

CJ McCollum has committed his future to the Pelicans by signing a two-year contract extension with the team that he joined just before the trade deadline last season, per Adrian Wojnarowski.

The 31-year-old shooting guard had two years left on his current deal. He will earn $64 million over the two extension years. McCollum will make $33.3 million and $35.8 million over the next two years, per Bobby Marks.

Last season McCollum averaged 24.3 points, 4.5 rebounds and 5.8 assists in 33.8 minutes per game for the Pelicans.