The Charlotte Bobcats and Detroit Pistons have agreed to a trade that will send small forward Corey Maggette to Detroit in exchange for shooting guard Ben Gordon and the Pistons’ lottery-protected first-round draft pick in 2013, Yahoo! Sports reported, citing NBA sources.

The Pistons will clear approximately $14.7 million in salary in the trade. Gordon is slated to make $25.6 million over the remaining two years of his deal; Maggette has $10.9 million left on his contract, which is up at the end of the 2012-13 season.

Pistons guard Ben Gordon and a first-round protected draft pick have been traded to Charlotte in exchange for Corey Maggette. (AP Photo)

“With this trade, we have acquired two things we covet in our plan to build this team,” said Rod Higgins, Bobcats president of basketball operations. “By acquiring a young and proven talent in Ben Gordon and a future first-round draft pick, we have both addressed our need for three-point shooting and acquired an additional asset to help continue to improve our team in the future.”

Gordon has not been the productive player Detroit hoped for when he signed a five-year, $55 million contract in 2009. He was one of the NBA’s best scorers in a sixth-man role for the Chicago Bulls, but struggled with the Pistons and averaged only 12.5 points per game last season.

The trade sends Maggette, who averaged 15 points last year, to his sixth NBA team, as noted by Yahoo! Sports.