The New York Knicks' search for a new general manager is apparently over.

Current Sacramento Kings front office executive Scott Perry and the Knicks have come to an agreement regarding the position, reports Vincent Goodwill of CSNChicago.com.

According to ESPN's Adrian Wojnarowski, the deal is still being finalized as the two parties are working out the compensation required to get Perry out of his contract with the Kings.

Perry joined the Kings organization just ahead of the 2017 post-season. Previously, he served in varying front office positions with the Detroit Pistons, Seattle Supersonics / Oklahoma City Thunder and Orlando Magic. He served as assistant GM in Seattle / Oklahoma City and Orlando.

Toronto Raptors president Masai Ujiri was initially linked to the Knicks after the dismissal of Phil Jackson. And ex-general manager of the Cleveland Cavaliers David Griffin, who helped the club win its first-ever NBA title in 2016, reportedly withdrew his candidacy for the GM job after meeting with New York.

Current Knicks executive Steve Mills served as the team's general manager the past three seasons but is expected to be promoted to president.