SAN FRANCISCO (AP) - Second baseman Joe Panik has reached agreement on a $3.45 million, one-year contract with the San Francisco Giants to avoid salary arbitration.

The deal came Friday for the 27-year-old Panik, who has been limited by injuries the past three seasons and spent a stint on the concussion list in 2017.

Panik, a 2016 Gold Glover who earned $600,000 last season, batted .288 with 10 homers, 28 doubles and 53 RBIs over 138 games in 2017 as the Giants finished a surprising last place in the NL West and avoided their first 100-loss season since 1985.

He was limited to 127 games in 2016 and dealt with a concussion after a back injury derailed his 2015 season.