Dak Prescott and the Dallas Cowboys have agreed to a new contract, sealing the QB's future in Texas.

According to Adam Schefter of ESPN, the deal is worth $160 million for four years. Interestingly, $126 million of the contract is guaranteed, which is a record.

In what looks like a prudent move, owner Jerry Jones and his Cowboys avoided the NFL franchise tag for the 2021 season, which would've cost the team north of $37 million. Not to mention that there is a higher chance the star QB  could leave them if he was given the franchise tag again.

Fortunately, the franchise tag didn't happen. Instead, Dak Prescott is locked up for a long time, with a potential to go beyond that.

It's a good move for Prescott as well, considering he was on pace for more than 5,500 yards passing in 2020 before getting injured in his fifth game of the year.

Coming into the 2020 season, Prescott had played in all 64 regular season games for the Cowboys and piled up more than 15,000 yards passing and 90 passing touchdowns. He agreed to the 2020 franchise tag, too, which operated as a one-year deal for more than $31 million.

During the last few weeks, rumors swirled of potential replacements for Prescott in Mike McCarthy's offense. There were even questions whether the former Mississippi State quarterback would get lured away elsewhere, perhaps to Chicago.

More details about the deal is  expected to be revealed when the Cowboys formally announce the deal. For now though, the team, its fans and Prescott can enjoy the moment as they move on from the biggest question lingering around the franchise throughout the offseason.