Real Sociedad have announced the appointment of David Moyes as their new manger on an 18-month deal.
Moyes replaces Jagoba Arrasate at the Anoeta, who was sacked earlier this month following a 1-0 defeat at Malaga, which left Sociedad second from bottom of the table with just six points from their first 10 games.
Caretaker Asier Santana managed to guide the team to a shock 2-1 win over champions Atletico Madrid on Sunday, but the Scot remained the club's number one target on their four-man shortlist, which also included former West Bromwich Albion manager Pepe Mel.
Some Spanish reports on Monday evening claimed talks between Moyes and Sociedad had collapsed over wage demands, but club officials moved quickly to quash such rumours.
The 51-year-old had been out of work since leaving United in May, following a tumultuous nine-month reign, and was linked to various clubs over the summer, including Galatasaray and Crystal Palace.