49ers general manager John Lynch praised the on- and off-field contributions of offensive lineman Ben Garland while announcing the official signing of a one-year contract.

The sides agreed to the deal at the beginning of free agency, Garland announced on social media earlier this month. After the deal was signed, the 49ers made the announcement on Saturday.

"Ben stepped in at a critical point in our season last year and did a great job," Lynch said in a statement.

"He is a versatile interior lineman who battles every play and gives you everything he has. Off the field, Ben is one of the most active NFL players in the community and we are privileged to have him representing the 49ers and the Bay Area."

[RELATED: 49ers Mailbag: Do 49ers approach draft as if Joe Staley won't return?]

Garland, who turns 32 next month, started the final three regular season games and all three postseason games for the 49ers last season after Weston Richburg sustained a season-ending knee injury. He entered the offseason as an unrestricted free agent.

Garland is a six-year NFL veteran from Air Force whose football career was delayed for two years while he completed his military commitment. He still serves in the National Guard during the NFL offseason.