Sam Darnold and Robby Anderson decided to team up to get revenge on their old team.

Darnold’s first touchdown pass as the quarterback of the Carolina Panthers came in the second quarter when he connected with Anderson for a 57-yard score in a 19-14 victory over rookie signal-caller Zach Wilson and the New York Jets on Sunday afternoon.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Darnold and Anderson, who played for two seasons together in New York, connected for the touchdown when Anderson got behind two defenders and hauled in the perfect pass from Darnold.

The touchdown was Anderson’s lone catch of the game. Darnold completed 24 of 35 passes for 279 yards with one touchdown pass. He also added a rushing score with 35 seconds to go in the first half.

NFL WEEK 1 SCORES, UPDATES AND MORE

All-Pro running back Christian McCaffrey had 98 yards on the ground to go along with a team-high nine receptions for 89 receiving yards.

CLICK HERE TO GET THE FOX NEWS APP

In his NFL debut, Wilson completed 20 of 37 passes for 258 yards, with two touchdowns and an interception, and was sacked six times.

Fox News' Paulina Dedaj contributed to this report.