Manchester United have announced on their official website that winger Adnan Januzaj has left the club to join Real Sociedad.
The 22-year-old was told by manager Jose Mourinho that he could find another club this summer.
The Spanish side was quick to publish a photo of the Belgian wearing his new jersey.
He moved to Old Trafford from Anderlecht when he was just 16 and broke into the first team in 2013 during David Moyes' spell in charge.
He was full of praise for the Red Devils in an emotional farewell message on Twitter.
"Where to start... I've had some incredible moments with Manchester United since I joined," he wrote.
"I want to say a massive thank you to all my team-mates that have come and gone from the club. It's been a pleasure to play with you all.
"Thank you to some of the coaches and staff that work at Manchester United to make it such a great club! Unfortunately, my time at the club has come to an end and it didn't go the way I wanted it to go but I will always have love for Manchester United.
"And finally, a huge thank you to the fans that have stuck by me through the good and bad times! I will never forget that positive support. Thank you #GGMU."