Former England international Chris Thorman will play his final professional game on Sunday.
Thorman, 31, will join Huddersfield Giants as assistant to Paul Anderson after three years combining playing and coaching roles at York City Knights.
BBC Radio York:
"It's going to be sad to leave York because it's played a big part in my life.
"I'll look back fondly, I've made lots of friends and it's been a massive learning curve."
Continue reading the main story
York City Knights player-coach
“York was the first club that gave me a coaching opportunity and I'll forever be grateful for that”
He added: "York was the first club that gave me a coaching opportunity and I'll forever be grateful for that."
Thorman joined York after being released by Hull FC in 2009 and took up a role that combined playing with an assistant coach position.
He had previously played in Super League for Huddersfield Giants and London Broncos and spent time with Paramatta in Australia.
He will take charge of York and play for the final time in their Championship game against Hunslet Hawks.
Thorman stepped up to head coach at York in September 2011 when Dave Woods was sacked.
As a player, Thorman was part of the York side that earned promotion to the Championship through the play offs in 2010.
"That was a great day for the club," he said.
"I'd been signed to get the club promotion and if I hadn't I would have failed.
"I'd have probably looked back on my time at York a bit differently.
"Hopefully the club can continue to progress and develop youngsters."