The Pistons have secured the services of starting shooting guard and leading scorer Richard Hamilton for the next seven seasons.

Hamilton and the Pistons agreed on the terms of a seven-year, $63 million contract Thursday.

"It is not signed yet, but it is done," said Leon Rose, Hamilton's agent. "Other teams were interested in him, but Detroit wanted him back and they put their best foot forward. Richard is thrilled. He wanted to be back in Detroit."

Hamilton, 25, entering his fifth NBA season, was a restricted free agent. Last season, he averaged 19.7 points in the regular season and 22.5 in the playoffs.

"We think Rip is one of the league's young bright stars with a great future," Pistons President Joe Dumars said. "We wanted to lock him up so we can continue to build on our success here."

Hamilton will earn $6.5 million next season, making him the highest-paid player on the Pistons. But he is still moderately priced relative to starting shooting guards in the league.