The Carolina Panthers have added a veteran quarterback to their roster.

Carolina agreed to a two-year, $10 million deal with Andy Dalton that includes $8 million in guarantees, according to a source.

Dalton can earn a maximum of $17 million over the two seasons.

The Panthers, who traded up for the No. 1 pick with the Chicago Bears on Friday, are expected to draft a quarterback.