The Oakland Raiders have acquired A.J. McCarron from the Buffalo Bills for a fifth-round pick in 2019.
The Raiders will owe McCarron his fully guaranteed $900,000 base salary this season.
Oakland released Connor Cook on Saturday.
McCarron signed a two-year, $10 million contract with the Bills in March. He can earn an additional $4.5 million this season in playing-time incentives from the Raiders.