Sources: 49ers to hire John Lynch as new GM on 6-year deal

— -- The San Francisco 49ers are hiring Hall of Fame candidate and FOX analyst John Lynch to be their new general manager, league sources told ESPN.

The two sides are still finalizing the contract, which sources say will be for an almost unprecedented six years.

Less than a week before he is eligible to be voted into the Pro Football Hall of Fame, the former Stanford standout is returning to the Bay Area.

As the 49ers are signing Lynch to a six-year contract, the plan is to offer? Atlanta Falcons?offensive coordinator Kyle Shanahan a six-year contract, according to league sources. The 49ers idea always was to have the head coach and general manager jobs tied together in terms of length of contract.

Lynch spent Thursday and Friday meeting with San Francisco officials. He spent Thursday night at 49ers owner Jed York's house before the team flew him back to San Diego on Friday night so he could attend a family function.

Lynch accepted the job Sunday.

Lynch has no front-office experience but has been connected to front-office jobs in the past. Some in Denver thought he could have been a candidate to replace John Elway one day, though that day never materialized.

The idea to hire Lynch was his own. He personally called Shanahan and volunteered for the job about a week ago.

Shanahan, expected to be named the Niners' head coach after the Super Bowl, thought about Lynch, and the more he thought about it, the more he felt Lynch was a fit for the job. Lynch played for Shanahan's father, Mike, in Denver.

The 49ers confirmed that they had interviews with nine general manager candidates after firing Trent Baalke on Jan. 1, none of which were with Lynch. They narrowed that group down to four and it then came down to two after Green Bay Packers executives Brian Gutekunst and Eliot Wolf removed themselves from consideration.

From there, York and executive Paraag Marathe had second interviews with the Arizona Cardinals vice president of player personnel Terry McDonough and the Minnesota Vikings assistant general manager George Paton over the weekend.

Throughout the process, the Niners acknowledged that they'd keep an open mind but their primary goal was to find someone who could work in lockstep with Shanahan.

"We need to make sure that the head coach and the general manager know each other, have a good understanding for each other," York said at the beginning of the process. "It doesn't mean that they had to have worked together in the past but they have to have a good respect for each other and a good understanding and know that they have similar visions and philosophies on building a football team."