The New York Knicks have agreed to a five-year deal to make Scott Perry their general manager, according to ESPN's Adrian Wojnarowski.

The Knicks will give the Sacramento Kings a 2019 second-round pick and cash considerations as compensation for the hiring of their former vice president to fill their general manager vacancy, according to USA TODAY Sports' Sam Amick.

With an imminent deal on the line, the last thing on the Knicks' agenda was to wrap up a compensation for luring Perry to their vacant role.

The long-time executive has done wonders for the Kings organization in a matter of three months, orchestrating the signings of veterans George Hill, Zach Randolph, and Vince Carter — as well as drafting rookies De'Aaron Fox and Frank Mason III.

The top-notch former VP also played a part in netting North Carolina's Justin Jackson and Duke's Harry Giles from the Portland Trail Blazers on draft night.

Perry will look to do the same for the Knickerbockers, who find themselves in a tough situation with only two signings this offseason and two enormous contracts that have proved tough to shed.

Between today and the time of his interview, the Knicks have ceased trade talks with the Houston Rockets and looked into ways to incorporate Carmelo Anthony into their system, given that he has proven to be a leadership presence that is heard and respected in the locker room.

Perry will work under new president Steve Mills, who will be the ultimate shot-caller in the organization, while making the most of Perry's wisdom as a day-to-day operations executive.

Sadly, this proves as the Knicks' best hire to date after spending a whopping $80 million in the acquisition of former-Knick Tim Hardaway Jr. and the re-signing of Ron Baker.