Nick Foles and the Indianapolis Colts have agreed to a two-year deal.

Foles will serve as backup quarterback to Matt Ryan.

Foles previously worked with Frank Reich with the Philadelphia Eagles.