Ezekiel Elliott and the Dallas Cowboys reached an agreement on a six-year, $90 million contract extension on Wednesday, according to several media reports.

The Cowboys’ star running back had been holding out this offseason despite having two years remaining on his rookie contract. His case? He’s led the NFL in carries two out of his first three NFL seasons, and the only season he didn’t was mostly because of a six-game suspension in 2017 for domestic violence allegations.

Last season, he led the league with 304 carries, and it wasn’t even close. He had 43 more carries than the next highest (Giants rookie Saquon Barkley).

The extension comes with $50 million guaranteed, according to ESPN, which is the highest total for a running back in NFL history.

The Cowboys host the New York Giants on Sunday at 4:25 p.m. They play Washington the week after, so Elliott’s presence early in the season could make or break the team’s position in the NFC East race down the stretch.

Elliott returned to practice on Wednesday, and him and his teammates played a small prank on those in attendance.

The Cowboys have been busy in the last few weeks, They re-signed offensive tackle La’el Collins to a five-year, $50 million contract on Tuesday. Two weeks ago, they re-signed linebacker Jaylon Smith to a five-year, $64 million deal.

But the work isn’t done yet, Dak Prescott and Amari Cooper are both waiting to ink new deals, and both are expected to be sizable ones. Prescott has reportedly turned down offers for $30 million per year, hoping to get something around the $40 million mark per season.

The Eagles’ first game against the Cowboys comes on Oct. 20 for a primetime game in Arlington. The Cowboys swept the season series against the Eagles last year.