Belgium winger Adnan Januzaj has been signed by Real Sociedad from Manchester United on a five-year deal for a fee of about £9.8m.
Januzaj, 22, was told he could find another club this summer by United manager Jose Mourinho.
Januzaj will be presented by the club on Thursday.
He returned from an unsuccessful campaign on loan at Sunderland and was left out of Mourinho’s squad for the pre-season tour of the United States.
The Belgian joined United from Anderlecht when he was 16 and broke into the first team in 2013 during David Moyes’ ill-fated spell in charge.
Deemed good enough to take Ryan Giggs’ number 11 shirt, Januzaj – who also had a stint on loan at Borussia Dortmund in 2015-16 – signed a five-year contract extension that was not due to expire until 2018.
Real Sociedad finished sixth in La Liga last season and will compete in the Europa League group stage in 2017-18.