Washington Redskins center Will Montgomery’s new contract, which he agreed to last Friday, is a four-year deal worth $12 million, according to a person with knowledge of the situation.

Montgomery, a seven-year veteran, who last season became a full-time starter for the first time in his career, would have become an unrestricted free agent on March 13. But the Redskins worked out a deal to keep him with the team and prevent him from hitting the open market.

Montgomery, a former Centerville High School and Virginia Tech standout, will earn $3.5 million this year and $2.1 million in the second year of his deal. He’ll earn nearly $3 million in 2014 and $3.4 million in the final year of his deal.

Montgomery earned $685,000 last season – his fourth with the Redskins.

Montgomery was drafted in the seventh round by the Carolina Panthers in 2007. He spent portions of the 2007 and 2008 seasons with the New York Jets before signing with Washington in December, 2008.

Montgomery made three starts in 2009 and started the final six games of the 2010 season at right guard. He took over as starting center at the beginning of the 2011 training camp, and started 14 of 16 games there.

Montgomery’s two other starts came at left guard, where he filled in for Kory Lichtensteiger, who suffered a season-ending knee injury in Week 6. Montgomery moved back to center after two games.