The Baltimore Ravens and free agent wide receiver Jeremy Maclin have agreed on a two-year contract, the team announced on Monday. Adam Schefter of ESPN was first to report the news. 

The 29-year-old visited Buffalo last week to talk with the Bills who also showed strong interest in the former Pro Bowler. Maclin and Bills running back LeSean McCoy played together as members of the Philadelphia Eagles for five seasons.

Maclin was a surprise cut by the Kansas City Chiefs earlier this month after just his second season with the team. Injuries stole four games from the 29-year-old, who finished with 44 receptions for 536 yards and two touchdowns.

Maclin is just one season removed from an 87 receptions, 1,088 yards, and eight touchdowns.

For his career, the 2009 first round pick has 474 receptions for 6,395 yards and 46 touchdowns.

Schefter adds that Baltimore could also still be in the mix for veteran free agent wide receiver Eric Decker, who is expected to be cut by the New York Jets soon.