The San Francisco 49ers announced on Wednesday that Joe Staley has signed a two-year contract extension.

The extension would take Staley, 34, through the 2021 season.

As the longest-tenured Niner, he has started 174 regular-season games and eight postseason contests.