According to Matt Maiocco of the Santa Rosa Press Democrat, the San Francisco 49ers have agreed to a deal with free agent guard Larry Allen.

Jay Glazer, of FOXSports.com, reports that Allen signed a two-year contract believed to be worth between $4 million and $5 million per year.

The deal is contingent upon Allen passing a physical and then signing the contract.