Robert Croft has announced he will retire from professional cricket at the end of the season to take up a coaching and ambassadorial role at Glamorgan.
The former England off-spinner made his first-class debut for the Welsh county back in 1989 and has taken 1,168 wickets, with a best of 8-66, and made more than 12,000 runs.
The 42-year-old played 21 Tests, taking 49 wickets, and 50 one-dayers in his international career.
"It's finally dawning on me that my career is coming to an end," he told Glamorgan's official website.
"It's unbelievable how quickly time has passed since from 1985 when I first walked into the Glamorgan environment as a teenager followed by my debut at the Oval in 1989; to think that it is the best part of 30 years is incredible.
"I count myself lucky to have played as long as I have and I'm grateful for the support I have received over the years from teammates, coaches and most importantly from my family and friends.
"I don't think I could have had the career I have had without such a supportive family. I owe a lot to my parents, Susan and Malcolm, my grandparents, my wife Marie and children Callum and Kara Beth.
"They have been there throughout my cricketing career, providing encouragement in the difficult times and a sense of level headedness in the good times. What's more my friends around me, those in the game and in the media have also all helped give me the motivation to keep on playing the game.
"I'm also lucky to have played with so many wonderful players for both Glamorgan and England with whom I've shared so many experiences, both good and bad. Those experiences will stay with me.
"I'm pleased to end my career with a home match against Kent at the SWALEC next week, but when I walk up those stairs for the last time as a player, I will be emotional, there's sure to be a tear in my eye."
Glamorgan Cricket Chief Executive Alan Hamer praised Croft for his efforts over the years, while also stating his delight that he will continue to be involved with the county he has served so well.
"Although this announcement draws the curtain on a truly remarkable playing career, it also signals the start of a new chapter in Robert's life," Hamer said.
"Robert's playing record speaks for itself and I hope that large numbers of spectators will attend next week's match against Kent, to give him the send-off he deserves.
"With Robert's playing career drawing to a close, the club have spent the past few weeks working with Robert to determine the most effective way in which his skills and experience can be best utilised.
"We are therefore delighted that Robert will now remain with the club in a coaching and ambassadorial role which will now not only see him help with the development of our younger players but also working to raise the profile of Glamorgan and Welsh Cricket."