Aberdeen manager Craig Brown has announced that he will stand down at the end of the season but is to remain with the club as a non-executive director.
Brown, 72, took over at Pittodrie in December 2010. His assistant, Archie Knox, will leave at the end of the campaign.
In a statement on the club's official website, he said: "Having reflected long and hard on the situation, I felt the time was right for me to step down as manager.
"I feel it is important this is out in the public domain, as I do not want anything to distract from the playing side over the next few weeks.
"Archie and I are determined to do whatever we can to help the team finish 2012-13 on a high, and we strongly believe we will be leaving a solid base for the next management team to build on.
"The opportunity to join the board at Aberdeen FC is a great honour. It was clear to me that the club was keen for me to remain here, and I have a burning desire to see this great club back at the very top of the Scottish game where it belongs."
Chairman Stewart Milne paid tribute to the work done by Brown and Knox, saying the contribution they had made was "immense".
"The staff throughout the club hold them in such high regard, and they will certainly be a difficult act to follow," he added.
"When Craig indicated that he would step down, I asked him to become a non-executive director and I am delighted to say this will take effect immediately."
He said Brown would be "a fantastic ambassador for Aberdeen Football Club".
Brown, who succeeded Mark McGhee in the Aberdeen hotseat, is to assist with the search for his replacement. Ross County boss Derek Adams is thought to be an early contender.
Aberdeen, who were steered clear of relegation trouble by Brown in 2010-11, are currently ninth in the Scottish Premier League table.