The New England Patriots have agreed to a five-year, $50 million contract extension with guard Shaq Mason.

The pact carries $23.5 million in guaranteed money, according to a source.

Mason will make $30 million over the first three years of the contract.

The 25-year-old was entering the final year of his rookie agreement.