The Cardinals have a new starting quarterback. They hope that sentence doesn’t have to be written again for at least two more years.

They completed a trade with Oakland for quarterback Carson Palmer on Tuesday and agreed to a two-year contract with Palmer that’s worth $16 million, $10 million of which is guaranteed.

In exchange for Palmer and the Raiders seventh-round pick this year, (219th overall), the Cardinals sent one of their two sixth-round picks this year (176th) and a conditional seventh rounder in 2014.

Palmer had dinner with Cardinals executives on Monday night, and the deal was completed Tuesday morning.

Palmer becomes the Cardinals starting quarterback, with Drew Stanton, a free agent acquisition, filling the backup’s role. The Cardinals have two other quarterbacks on the roster: Brian Hoyer and Ryan Lindley.