Aberdeen have announced that Barry Robson will join the club when his current contract with Sheffield United expires.
The midfielder will join his hometown club in time for next season, following a short-term stay at Bramall Lane.
The 34-year-old told the club's official website: "I think it's something I have always wanted to do, it's something my family have always wanted me to do and I am very privileged to be able to join now.
"I know how big a club this is, I know how good a club it is and it's always a club I wanted to play for and I am just glad I am getting the opportunity to do that."
Manager Derek McInnes added: "We still feel he has that winning mentality and is someone who can bring some real quality to the team. We're delighted to have him on board and as a local boy I'm sure he is looking forward to playing for his home town team."
Robson has spent the majority of his career playing in the Scottish Premier League, with stints at Inverness Caledonian Thistle, Celtic and Dundee United.