The San Francisco 49ers have agreed to acquire Dee Ford from the Kansas City Chiefs.

The 49ers will sign Ford to an extension worth $87.5 million over five years. The Chiefs placed the franchise tag on Ford last week with the hope of trading him.

Ford started all 16 games for the first time in his career and had a career-high 13 sacks. He was also selected to play in the Pro Bowl for the first time.

The 49ers entered the offseason looking for a premium edge rusher.