The Buffalo Bills continued their busy offseason, while the New England Patriots added a former Bills tight end who has had plenty of success against them.

The Patriots reached an agreement with Scott Chandler, according to a report from ESPN’s Adam Schefter. He was released by the Bills on Wednesday.

Chandler, 29, has played well against the Patriots in his career. In eight games against New England, the 6-foot-7, 260-pound Chandler has 28 receptions for 384 yards and four touchdowns.

Chandler played in 16 games for the Bills last season, finishing with 47 receptions for 497 yards and three touchdowns.

The Bills, meanwhile, signed wide receiver/kick returner Percy Harwin to a one-year contract, according to two people familiar with the deal. Harvin rejoins new Bills coach Rex Ryan. Harvin was released this month by the Jets after playing for Ryan last season in New York.

Ryan, who became the Bills’ coach soon after the Jets fired him in January, obviously was impressed by Harvin’s performance in his short time with New York.

The Jets acquired the versatile Harvin from Seattle last October, and Harvin had 29 catches for 350 yards and a touchdown in eight games with the Jets. John Idzik, who was the Jets’ general manager at the time of the trade, called the move “a potential coup” for New York. Harvin also ran for 110 yards on 22 carries, and averaged 24.8 yards on 20 kickoff returns.

 The Pittsburgh Steelers and quarterback Ben Roethlisberger agreed on a five-year contract extension to keep the franchise cornerstone in black and gold beyond his 12th NFL season.

Roethlisberger, 33, threw for 4,952 yards last season, breaking his own team record and tying with Drew Brees for the most yards passing in 2014. Roethlisberger also had 32 touchdown passes and nine interceptions.

 The Dallas Cowboys moved quickly to replace NFL rushing champion DeMarco Murray, who signed with the Philadelphia Eagles on Thursday. Dallas agreed to a contract with Darren McFadden, who had seven mostly disappointing seasons in Oakland after the Raiders drafted him fourth overall in 2008. His agent, Ian Greengross, tweeted that McFadden was joining the Cowboys. The deal is reportedly for two years and worth up to $5.9 million.

Murray signed a five-year, $42 million contract with the Eagles, with $21 million guaranteed. Dallas owner Jerry Jones said the salary cap prevented the Cowboys from going that high.

McFadden, 27, has 4,247 career yards, with season highs of 1,157 yards and seven touchdowns in 2010.

 The Miami Dolphins swapped receivers in a pair of trades: Kenny Stills for Mike Wallace.

First, the Dolphins obtained Stills from the New Orleans Saints for veteran linebacker Dannell Ellerbe and a 2015 third-round draft pick.

The deal made the disgruntled Wallace expendable, and Miami traded him and a seventh-round draft pick to Minnesota for a fifth-round draft pick, a person with direct knowledge of the deal told The Associated Press.

Stills started only six games last year but had 63 receptions for 931 yards and three touchdowns.

Miami had little cap space after signing defensive tackle Ndamukong Suh to a $114 million deal this week, and Stills is a relative bargain because he’s due to make only $585,000 this year.

Miami freed up even more space by trading Wallace, who was due to make $9 million this year. He led the team with 10 touchdowns in 2014, but feuded with the coaching staff.

 The Tennessee Titans agreed to terms with five players, including three-time All-Pro linebacker Brian Orakpo.

Orakpo had spent his entire six-year career with Washington. Orakpo’s agent, Ben Dogra, said his client has agreed on a four-year deal worth up to $35 million.

 Cornerback Chykie Brown is returning to the Giants. Brown, entering his fifth NFL season, played eight games with the Giants after being awarded on waivers from Baltimore. He started four games and finished with 31 tackles and two passes defended.

 Free-agent cornerback Chris Culliver has joined Washington, leaving the 49ers.