ORCHARD PARK, N.Y. — Receiver Percy Harvin has come out of retirement to sign with the Buffalo Bills, his agent Greg Barnett says.

Harvin retired in April after spending last season in Buffalo, citing numerous injuries. He had 19 catches for 218 yards and a touchdown in five games with the Bills before being sidelined by lingering hip and knee injuries.

Harvin fills an immediate need on a team with a banged-up group of receivers.

Buffalo played New England on Sunday without three of its top four receivers, then lost backup Brandon Tate to a possible concussion. Sammy Watkins is on injured reserve with a left foot injury, but is eligible to return later this month.

Harvin must still pass a physical. Before he retired, the Bills were Harvin's third team in two years after he was traded by the Seattle Seahawks to the New York Jets during the 2014 season.

Harvin, 28, was picked by the Vikings in the first round of the 2009 draft and played with the team until 2012. He was traded to Seattle in March 2013 for several draft picks and has since played for the New York Jets and Buffalo. He caught 280 passes and scored 29 touchdowns in his four seasons with the Vikings.