The San Francisco 49ers have agreed to a three-year, $9 million contract with starting right guard Mike Person, according to a source.

The deal includes $3 million in guaranteed money.

Person was scheduled to become a free agent.