Former Detroit Lions safety Louis Delmas has agreed to a one-year contract with the Miami Dolphins, a person with knowledge of the deal told USA TODAY Sports on Monday.

The deal has a maximum value of $3.5 million, according to the person, who spoke on condition of anonymity because it hadn’t been announced.

Delmas, 26, appeared in 65 games (64 starts) over five seasons with the Lions, who drafted him in the second round out of Western Michigan in 2009 and cut him last month.

Also Monday, the Dolphins informed cornerback Dimitri Patterson he will be released, a person with knowledge of that transaction said.

Patterson, 30, appeared in eight games over parts of two seasons with the Dolphins, who claimed him off waivers from the Cleveland Browns in December 2012. The move cleared $4.4 million in 2014 cap space.