CLEVELAND, Ohio -- With the Browns trading for Odell Beckham Jr. Tuesday night, receiver Breshad Perriman wanted out of his one-year, $4 million agreement with the Browns, and the two sides agreed not to move forward with the deal, a league source told cleveland.com.

Perriman, 25, then agreed to the same terms with the Bucs, a league source told cleveland.com. The deal was first reported by ESPN’s Adam Schefter and Chris Mortenson.

Perriman, signed by the Browns in October, agreed to the deal just hours before Browns GM John Dorsey traded the No. 17 overall pick, the third-round pick from the Patriots and 2017 first-round safety Jabrill Pepper to the Giants for Peppers.

The Browns would have kept Perriman on the roster if he had wanted to stay.

“Breshad’s a good football player,’’ head coach Freddie Kitchens said at the combine two weeks ago. “Breshad had more success with us than he has with anybody else, so of course we’ve got plans for Breshad moving forward and hopefully we get him back."

Perriman had expressed his gratitude to the Browns for reviving his career, and told cleveland.com he wanted to re-sign here. But with the surplus at receiver, Perriman may have found it difficult to get the ball.

Perriman caught only 16 passes for 340 yards and two TDs in his 10 games with the Browns, but he made some big plays, including:

* A career-long 66-yard catch on the first play against Carolina to set up a TD;

* A 31-yard TD catch on the Browns’ opening possession at Denver; and

* A 63-yard catch off a double-reverse from Jarvis Landry to set up a TD against the Bengals.