The Raiders now need a backup quarterback.

Oakland released quarterback AJ McCarron on Thursday, the team announced. The move also saves the team $5 million in salary-cap space.

We have released QB AJ McCarron and WR Jordy Nelson.



More » https://t.co/Z3a8Xtm2dB pic.twitter.com/fV93uBlBrp — Las Vegas Raiders (@Raiders) March 14, 2019

The Raiders traded a 2019 fifth-round draft pick to the Buffalo Bills for McCarron in September. He appeared in two games for Oakland and completed one of his three pass attempts.

Releasing McCarron makes Nathan Peterman the team's backup quarterback at the moment. Peterman was signed to a reserve-futures contract in January.

[RELATED: Peterman to Raiders has Twitter erupting for many reasons]

Peterman threw three touchdown passes and 12 interceptions in eight games over two seasons in Buffalo.