The Baltimore Ravens have reached an agreement with Michael Huff on a three-year contract worth $6 million, according to a league source.

The defending Super Bowl champions were in need of a safety after they parted ways with veteran Ed Reed.

Huff was released by the Raiders on March 12 before he was to receive a $4 million roster bonus.