Peter Trego has signed a two-year contract at Nottinghamshire in a deal that will see him continue his playing career into his 40s.
Trego's departure from Somerset at the end of the 2019 season initially appeared to signal the end of his career, but he insisted that he wanted to play on and has been brought in to add experience to a young Nottinghamshire side.
"He's got 20 years of experience in the professional game and has a strong reputation as a player and how he goes about his cricket," said head coach Peter Moores.
"I've had good conversations with him about his passion to carry on playing, but also to offer something back to the game.
"He's an all-round player - batter, bowler and fielder - and he will also offer another layer of support to some of our younger players.
"We've lost a lot of experience from our dressing room, so Pete adds balance to our squad in terms of age and experience."
Trego played a leading role in Somerset's Royal London Cup win, hitting 389 runs in 11 innings at an average of 35.36, but was dropped from the side four matches into their Vitality Blast campaign.
He hit an unbeaten 47 off 31 balls in their opening game against Glamorgan, but could only manage 14 off 17 in a run chase of 185 against Sussex, and lost his place for the rest of the tournament.
His Notts deal spans all formats, though he last played a Championship game in 2018.
"It's an absolute honour to join Nottinghamshire," said Trego.
"Trent Bridge has been a great stomping ground for me on a personal level. It inspires me and it's brilliant to get the chance to play there week in week out.
"I'm coming into a new club and want to show people what I can do on and off the field, in the dressing room and be a match-winner.
"I'm a big believer in being judged on my performances and by mid-season I hope to be a fan favourite and someone who is seen as giving their all for the club."