Josh Smith has agreed to a four-year, $56 million deal with the Detroit Pistons, league sources told Yahoo! Sports.

The Pistons pursued Smith the hardest, with agents Brian Dyke and Wallace Prather reaching an agreement with Detroit general manager Joe Dumars on Saturday morning, sources said.