ALAMEDA, Calif. — The Oakland Raiders have signed free agent quarterback Josh Johnson to compete for the backup position.

The team on Monday also officially announced the signing of cornerback Shareece Wright, who said last week he agreed to join the Raiders, and the details of a trade agreed to over the weekend that sent kick returner Cordarrelle Patterson to New England.

The Raiders will get the 159th overall pick in next month's draft from the Patriots in exchange for Patterson and the 210th overall pick.

Wright spent last season in Buffalo, where he had one interception and five passes defenced in 12 games.

Johnson is an Oakland native and was drafted by Tampa Bay in Raiders coach Jon Gruden's last season there in 2008. Johnson has spent time with 10 teams and started five games. He has completed 96 of 177 passes for 1,042 yards, five touchdowns and 10 interceptions and a 57.7 passer rating.

Johnson hasn't thrown a pass in the NFL since 2011 and will compete with Connor Cook to become Derek Carr's backup.

___

More AP NFL: www.pro32.ap.org and www.twitter.com/AP_NFL