SAN FRANCISCO -- The Giants made it official on Wednesday, announcing the signing of left-handed reliever Jeremy Affeldt to a three-year contract for a reported $6 million per season.

Affeldt completed his fourth full season with the Giants in 2012, going 1-2 with a 2.70 ERA in 63 1/3 innings (67 appearances).

Affeldt, 33, may have earned his new contract with his work in the postseason, pitching 10 1/3 innings of scoreless relief as the Giants won the World Series.

In his four seasons with the Giants, Affeldt is 10-9 with a 2.73 ERA and 10 saves.