Josh Harrellson has agreed to a two-year, partially guaranteed deal with the Detroit Pistons.

The second season is a team option, while the first season has a partial guarantee for Harrellson.

Harrellson spent last season with the Miami Heat before going to the Brujos de Guayama of Puerto Rico and Chongqing Fly Dragon in China.