Veteran cornerback Richard Sherman has signed with the Tampa Bay Buccaneers, the team announced Wednesday.

A source told ESPN’s Adam Schefter that Sherman signed a one-year contract.

Sherman had been in discussions with the Buccaneers for several weeks and said on “The Richard Sherman Podcast” that multiple teams, including the San Francisco 49ersSeattle Seahawks and Carolina Panthers, also expressed interest.

Sherman said quarterback Tom Brady reached out to him as well.

“He’s the all-time great quarterback reaching out, and anytime he makes that call, it’s a very difficult opportunity to pass up,” Sherman said.

Sources told ESPN’s Ed Werder on Tuesday that Sherman believed he needs a week or two to be ready to play in a game.

The Buccaneers will be Sherman’s third NFL team, after he spent the past three seasons with the 49ers and started his career with seven seasons in Seattle.

Sherman, 33, can provide valuable experience in one of the league’s youngest defensive backfields. He is also a sure tackler, which has been an issue for the Tampa Bay defense this season.

Sherman is dealing with legal issues and has a pretrial hearing scheduled for Friday in Washington. He was arrested in July in connection with a situation at the home of his wife’s parents in Redmond, Washington, and was charged with five misdemeanors, including two counts of domestic violence — criminal trespass in the second degree and malicious mischief in the third degree — as well as resisting arrest, driving while under the influence and reckless endangerment of roadway workers.

He pleaded not guilty to all five charges and said in a statement on Twitter in July that he was “deeply remorseful” for his actions and “behaved in a manner I’m not proud of.”

In February, King County prosecutors and the sheriff also obtained an “extreme risk protection order” for Sherman, barring him from having guns after a judge determined he posed a danger to himself and others. Details of the case were sealed.

The Buccaneers did