SANTA CLARA, Calif. (AP) — The San Francisco 49ers have signed offensive lineman Garry Gilliam to a two-year contract extension.

The deal reached Tuesday keeps Gilliam off the free-agent market next month and under contract through 2019.

Gilliam joined San Francisco last offseason as a free agent and played in the first eight games with one start before being placed on injured reserve with a knee injury.

Gilliam's return gives the 49ers needed depth in the offseason as starting right tackle Trent Brown recovers from shoulder surgery.

Gilliam has played 52 games with 31 starts in four seasons with San Francisco and Seattle.


More AP NFL: and