Zach Ertz has agreed to a new three-year contract with the Arizona Cardinals.

The Cardinals acquired Ertz in a trade with the Philadelphia Eagles at midseason.

The deal is worth $31.65 million with $17.5 million guaranteed, according to a source. The tight end wanted to remain in Arizona after just a half-season there.

Ertz tied the Cardinals' single-season record for catches by a tight end, doing it in just 11 games.