The 49ers‘ director of player personnel accepted a similar position Wednesday with the Philadelphia Eagles, who gave him his first NFL job 25 years ago. Gamble’s father, Harry, was the Eagles’ president when his son was as an assistant in the team’s player personnel department from 1988 to ’94.

Gamble, 49, grew up in Haddonfield, N.J., about 10 miles outside Philadelphia.

He will be the Eagles’ vice president of player personnel and will report to general manager Howie Roseman. Gamble will work in the college and pro personnel departments, as he did with the 49ers.

“He’s not only a talented evaluator, but also a good man and the type of person you want as a part of your team,” Roseman said.

“Tom and I have had a great relationship over the years, and I know he’s excited to come home. He had a great run in San Francisco, and they have been very successful over the last few years. He will jump right in with our group and get working on free agency and the draft.”

With the NFL combine next week, the timing isn’t ideal for the 49ers. But they probably were braced for Gamble’s exit after the well-respected personnel evaluator was reportedly a candidate for general-manager openings with the Jets, Jaguars, Chiefs and Chargers since the end of the regular season.

“I would like to thank Tom for his hard work, dedication and loyalty over the past eight seasons,” 49ers general manager Trent Baalke said. “He has played an instrumental role within our personnel department, and is a true professional in every sense of the word.”