Ankle puts Ian Williams' status in doubt; 5-year deal now 1-year pact

San Francisco 49ers defensive tackle Ian Williams underwent ankle surgery after the season, which has left his status for the 2016 season opener in question and caused him and the team to redo the five-year deal the two sides agreed on during free agency, according to league sources.

After Williams could not pass his physical, he and the 49ers needed to redo their five-year, $27.5 million contract and instead created a one-year deal worth up to $6 million that includes no guaranteed money, the sources said.

Williams' agent, Drew Rosenhaus, has been very up-front from the beginning that his client underwent a procedure after the season.

The contract includes just $1 million in base salary. For each game that Williams is on the 46-man game-day roster, he will earn $125,000, up to $2 million total.

The one-year deal is expected to give Williams the chance to become a free agent again after next season, but his ankles will likely continue to be an issue.

The 6-foot-1, 305-pound nose tackle is coming off his most productive season. Starting in all 16 games, Williams had a career-high 65 tackles with one sack, a forced fumble, a fumble recovery, a pass defended and a blocked kick.

ESPN 49ers reporter Paul Gutierrez contributed to this report.