Jahlil Okafor has agreed to sign a two-year deal with the Detroit Pistons.

Okafor spent the past two seasons with the New Orleans Pelicans, averaging 8.1 points, 4.2 rebounds and 1.2 assists in 15.6 minutes per game in 19-20.

Okafor was the third overall pick in the 2015 NBA draft out of Duke.