A day after Anthony Barr, the four-time Pro Bowl linebacker, had reportedly agreed to sign a multi-year contract with the New York Jets, he got cold feet.

Barr has agreed to a new five-year contract to remain with the Vikings, a league source confirmed to the Star Tribune, after backing out of his deal in New York. Barr gets a deal worth $67.5 million with $33 million in guarantees. He can earn up to $77.5 million through incentives.

The Jets were offering Barr more money per year, a source told the Star Tribune.

Barr gets an average of $13.5 million per season in Minnesota, making him the third-highest paid Vikings defender behind Danielle Hunter and Xavier Rhodes.

NFL Media first reported Barr's commitment flip.

The Vikings may need to move around more money. They entered Tuesday with about $9 million to $10 million in cap space with Barr unsigned.

Deals with outside free agents can be signed Wednesday at 3 p.m., so that's why the Jets couldn't officially sign Barr, but he could sign with the Vikings on Tuesday because he's an in-house player.

Barr, who turns 27 on Monday, has played in 74 of 83 games since the Vikings drafted him ninth overall in 2014.