Jason Garrett may no longer be with the Dallas Cowboys, but he isn’t leaving the NFC East anytime soon.

The New York Giants hired Garrett to become their new offensive coordinator, the team announced on Friday night. ESPN’s Ed Werder first reported the news.

"I've known about Jason for a long time, not only through the general public as well-known as he is as head coach of the Cowboys,” newly hired Giants coach Joe Judge said in a statement. “There were guys I worked with that I came across in my career at both Alabama and at the New England Patriots that worked with Jason through their time in Miami with him. They consistently all reflected on how smart he is, how great a teacher he is and how his perspective of the game was through a different lens than most coaches. And when he sees it, he's able to communicate it and paint that mental image to the players. And he does a fantastic job of making in-game adjustments."

Garrett was fired by Dallas this month after he led the team to an 8-8 record and missed the playoffs for the third time in five years. He compiled an 85-67 overall record in 10 years with the Cowboys and won three NFC East titles, going just 2-3 in the postseason. Former Green Bay Packers coach Mike McCarthy will replace Garrett.

Garrett was the offensive coordinator for Dallas for three years before he was promoted to the head coaching job during the 2010 season. He last called plays for the Cowboys in 2012, however.

[Watch NFL games on your phone for FREE with the Yahoo Sports app]

The Giants tabbed Judge, the former New England Patriots wide receivers coach, to become their next head coach this month after firing coach Pat Shurmur after two seasons. Judge and the Giants interviewed Garrett on Wednesday for the offensive coordinator job, a meeting that clearly went well. They reportedly spoke with former Cleveland Browns coach Freddie Kitchens and longtime offensive coordinator Mike Shula about the position, too.

Garrett could be a very useful hire for Judge, who has never held a head coaching job at any level. With the young offensive assets he will have at his disposal — including quarterback Daniel Jones, who had his moments in his rookie season last fall, and running back Saquon Barkley — Garrett may be the missing piece for the Giants’ offense, which hasn’t led the organization to the postseason since 2016.

“We had some great conversations when we were able to bring him in here,” Judge said. “It was a great opportunity to get to know each other a little better than we had before. It was a great opportunity to sit there and talk ball and share philosophies and views on the game. It's a great system he brings with great teaching that will allow our players to go out there and play aggressively.”

Jason Garrett will be sticking around the NFC East after all. (Patrick Smith/Getty Images) More

More from Yahoo Sports: