NEW YORK (AP) -Just two weeks shy of his 40th birthday, Brendan Shanahan is headed back to where it all started.
The all-but-certain Hall of Fame forward agreed in principle to a deal with the Devils on Saturday that will return him to New Jersey - the team that chose him with the No. 2 pick in the 1987 NHL draft.
Shanahan hasn't played since finishing his second season with the New York Rangers last spring. He hoped to remain with the Rangers - who knocked out New Jersey in the first round of last year's playoffs - after becoming an unrestricted free agent, but Shanahan grew tired of waiting for an offer.
He had discussions with the Devils in September, general manager Lou Lamoriello said, but the timing wasn't right to sign him. Shanahan, who will turn 40 on Jan. 23, also talked to the Philadelphia Flyers.
"He certainly will not be rushed into anything," Lamoriello said during a conference call. "The coaches will determine when he is ready. I do not feel that age is a factor. I have had players who were 25 going on 50 and players who were 35 going on 25. I feel that Brendan is in the latter part."
Lamoriello spoke with Shanahan's agent this week and then met with the left winger in person on Friday. They talked again Saturday and agreed that Shanahan would join the Devils once he is in game shape.
Contract details still have to be worked out in the coming days, but Lamoriello doesn't expect that to be a problem.
Shanahan will continue skating on his own at the Devils' facilities. There is no timetable for him to join coach Brent Sutter's lineup that has struggled recently.
"I have tremendous respect for what Brendan can bring and what he has brought," Lamoriello said. "The major impetus of this was to bring (him) to our power play and specialty teams, which has really been a forte of his in recent years.
"We felt extremely strong that Brendan could add to that, plus what he brings to the overall lineup with experience."
Shanahan has 650 goals and 1,340 points in 1,490 NHL games in 21 seasons. He ranks 11th on the career goal list, 24th in points, and is a three-time Stanley Cup champion - all with the Detroit Red Wings.
He also played a major role in the Devils' three titles between 1995 and 2003, but wasn't there for any of the championships.
When Shanahan signed a free-agent contract with the St. Louis Blues in 1991 after four seasons with New Jersey, the Devils received as compensation Hall of Fame defenseman Scott Stevens, who captained the team to each title.
Lamoriello joined the Devils as GM for the 1987-88 season, and goes way back with Shanahan. He is just the latest big-name player to come back this season after splitting with the club.
But unlike forwards Bobby Holik and Brian Rolston, who signed as free agents during the summer, Shanahan has never been a teammate in New Jersey with anyone on the current roster.
"That is a nice thing to know that the player knows about the organization, knows what is expected, knows what the philosophy is, so that is something that you don't have to go through," Lamoriello said. "It's nostalgic because Brendan came in when I came in, but that shortly stopped because this is hockey. This is a hockey decision 100 percent in every way.
"You can never have enough experience. He knows what it takes to win. He has won Stanley Cups. All of those things are added, and that is the goal of this organization."
Shanahan scored 23 goals in 73 games last season but finished with only 46 points, his lowest total in a full year since his rookie season of 1987-88. Lamoriello didn't have an explanation for the offensive dropoff, but also didn't express any concern.
He was instead impressed with Shanahan's work ethic and his physical condition.
"He has always been a player that takes care of himself. He looks in great shape. We feel very comfortable with that," Lamoriello said. "Right now we have an opportunity to add a player without subtracting and get a better feel for who we are. We can always get younger players still in here."
While Shanahan was targeted for his special teams play, Lamoriello expects him to be a full-time player in the lineup.
The Devils entered Saturday night's game at Los Angeles having lost two straight and three of five, leaving them third in the tight Atlantic Division race. They were beaten 4-0 at home by lowly Atlanta on Thursday and have scored only 12 goals in five games.
Their power play, ranked 21st in the 30-team NHL, went 0-for-7 in the latest loss and is in a 5-for-36 rut over nine games. The Devils are 19th in penalty-killing.
"You never make a decision on one or two or even three games," Lamoriello said. "The overall specialty teams' success, or lack of success, in my mind was the impetus in coming to the conclusion right now that (adding Shanahan) would be a positive thing."