T.J. Brennan is coming home.

Twice in the last three seasons the Moorestown native won the Eddie Shore Award as the best defenseman in the American Hockey League, both times for the Toronto Marlies.

Before his contract expired June 30 with Toronto, Brennan told his agent, Allain Roy, that there would only be one team he’d sign with: his hometown Philadelphia Flyers.

While other teams tried to get one of the top AHL defensemen in their organization, Brennan kept telling Roy that he wasn’t changing what he wanted.

Tuesday it finally happened. The Flyers signed him to a two-year, two-way deal worth $625,000 per season in the NHL and $325,000 in the AHL this upcoming season, $400,000 in the 2017-18 season.

He is the most homegrown player ever to sign with the Flyers, edging out Wilmington, Del. native Mark Eaton, by 15 miles.

“In my mind, the Flyers were my only option,” Brennan said. “To be honest, I was prepared to not play hockey this year if we couldn’t negotiate a contract with the Flyers. I’m excited that things obviously have worked out. I believe in doing things for the right reasons. I’m very ecstatic that things have worked out for numerous reasons.”