Barry Bonds is returning to the San Francisco Giants as a special adviser, the club has announced.

Bonds will assist Giants CEO Larry Baer and join the team at spring training.

"We are delighted to welcome Barry back home to the Giants," Baer said in a statement. "As one of the greatest players of all time, Barry's contributions to our organization are legendary. He joins Willie Mays, Willie McCovey, Orlando Cepeda and other distinguished alumni who help advise the club and we look forward to working with him again."

Bonds set Major League Baseball records for home runs in a season (73 in 2001) and career homers (762) as part of his 15-year tenure in San Francisco.