Dundalk have confirmed Chris Shields will leave next week ahead of an expected move to Linfield.
Shields' final game for the club will be against Derry City in the SSE Airtricity League Premier Division.
The midfielder was huge part of a period of dominance for the Lilywhites since join in 2012.
He made 348 appearances in all competitions, scoring 15 goals, with only seven players having played more games for Dundalk in their history.
Shields will depart with a record haul of medals that includes five SSE Airtricity League titles, three FAI Cups, three League Cups, three FAI President's Cups, a Unite The Union Champions Cup and a Leinster Senior Cup.
The 30-year-old is second in the club’s all-time list of European appearance holders behind Sean Gannon after helping the Lilywhites to two Europa League group stage qualifications.
His departure is set to be the first as part of a budget-cutting exercise at Oriel.
"After nine-and-a-half years at Dundalk, the time has come to move on. A fantastic opportunity has arisen for me, and it’s one, for family and football reasons, that I can’t really turn down," said Shields.
"I’m lucky to have been involved in a period of real success at Oriel Park. I know we had a hiccup during my first season here back in 2012 but from then on, it was a rollercoaster ride of pure joy, emotion, and success.
"There have been so many nights that I will remember forever.
"When I leave, I will probably only really appreciate the teams, players, and managers I’ve played with and the great people I’ve been around. It makes it that extra bit special when you’re winning things with people you are very fond of.
"I’d like to thank Jim Magilton and Bill Hulsizer for understanding my reasons for making the move and for their help in making the transition.
"Day in, day out, I see how tirelessly people work behind the scenes to achieve perfection on the pitch at Oriel Park and I know that success will come back to the club. Vinny Perth has come in to steady the ship and I know that he and the players in the dressing room will do that."
We need your consent to load this SoundCloud contentWe use SoundCloud to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences