ORCHARD PARK, N.Y. (AP) — Thad Lewis is out and Jordan Palmer is in following the Buffalo Bills' late preseason shuffle of backup quarterbacks.

Palmer was signed Tuesday, two days after being cut by Chicago, where he lost the backup competition to Jimmy Clausen. In five NFL seasons, Palmer has appeared in just four games and completed 10 of 15 passes for 59 yards and two interceptions.

Lewis' release comes as a surprise after he went 2-3 last year filling in for injured starter EJ Manuel.

Lewis, however, struggled during training camp and fell behind Jeff Tuel in the competition for the No. 2 job.

The switch comes two days before the Bills (1-3) close their preseason hosting the Detroit Lions (2-1).

Buffalo opens the season at Chicago on Sept. 7.

More From 600 ESPN El Paso