Wright played one season in Tampa Bay after signing as a free agent. The Buccaneers gave him a five-year, $37.5 million deal. He played in 10 games, finishing with 37 tackles, seven passes defensed and one interception. He was suspended four games for violating the league's performance-enhancing drugs policy and arrested on suspicion of DUI.

After the season, he agreed to restructure his deal, taking a significant pay cut.

The Buccaneers landed star cornerback Darrelle Revis in the offseason in a trade with the New York Jets but still lack depth at that position. Rookie Johnthan Banks is likely to start along with Revis.

Wright fell to the second round of the 2007 draft after experiencing off-the-field issues while he played at USC. He transferred to UNLV and played one year there before being drafted.

Wright was drafted by the Cleveland Browns. He also played for the Detroit Lions before signing with the Bucs. In 85 NFL games, he has 360 tackles, 70 passes defensed and 14 interceptions.

"We are pleased to add Eric to our team," said 49ers general manager Trent Baalke in a statement. "As an organization, we have done our due diligence and anticipate Eric working hard to contribute to the 49ers."