After all that posturing, the back-and-forth about missing games, Ezekiel Elliott and the Cowboys have agreed on a contract extension.

The two-time Pro Bowl running back, who had held out the entire summer, is now planning to practice on Wednesday and then play in the regular season opener against the Giants on Sunday after agreeing to a six-year, $90 million extension with $50 million guaranteed. The deal makes Elliott the highest-paid running back in the league and the first Cowboys player to “eclipse $100 million in total value.”

The 24-year-old Elliott flew back from Cabo, where he had been training, on Tuesday in anticipation of a deal getting done and potentially returning to practice.

The holdout has turned contentious as times with owner Jerry Jones and son Stephen at times feuding with Elliott’s agent, Rocky Arceneaux. And it comes as quarterback Dak Prescott and receiver Amari Cooper are in the final year of their contracts and also seeking new deals. Eliott had two years left on his deal, prior to the extension.

Elliott ran for 1,434 yards and six touchdowns a year ago. Rookie fourth-round pick Tony Pollard and veteran Alfred Morris were set to share carries if Elliott remained out.