Aberdeen on Friday night confirmed the appointment of Craig Brown as manager on a two-and-a-half year contract.
The 70-year-old has completed his switch from Motherwell along with assistant Archie Knox after they handed in their resignation at Fir Park late Thursday night.
The pair will be officially unveiled on Monday, with caretaker bosses Neil Cooper and Neil Simpson remaining in charge for Saturday's Clydesdale Bank Premier League clash against Hearts at Tynecastle.
Aberdeen chairman Stewart Milne said: "I don't think it's any secret Craig and Archie were our first choice and it's fantastic that they've agreed to come on board."
While the formalities of the deal were completed on Friday night, agreement was reached in principle 24 hours earlier before Brown and Knox stunned Motherwell with their resignations following a dramatic U-turn.
Motherwell have reported Aberdeen to the SPL over an alleged illegal approach but the Dons have denied wrongdoing.