Diego Costa’s return to Spanish La Liga side Atletico Madrid from Jan. 1 has been finialised, English Premier League champions Chelsea said in a statement on Tuesday.

The two clubs agreed the transfer one week earlier and on Monday the 28-year-old Spain forward passed a medical to return to the Spanish capital.

“Diego Costa has today agreed terms for his transfer to Atletico Madrid, which will take effect on Jan. 1, 2018,” Chelsea said in a statement.

“We thank Diego for his efforts and wish him well in his future career.”

The controversial Spaniard’s departure from Stamford Bridge signalled the end of a messy transfer saga.

During this, Costa claimed Chelsea manager Antonio Conte had told him via text that he was no longer required at the club.

His last game for Chelsea came at Wembley in May when he scored in the 2-1 FA Cup final defeat against Arsenal.

WATCH THIS: Nigeria's Samuel Dumbili Has Scored Over 120 Goals For PSV Eindhoven

Costa leaves Chelsea having won two Premier League titles, one League Cup and scored 59 goals in 120 appearances.

He finished as Chelsea’s top scorer in each of his three seasons in west London.

“I‘m very happy to return home,” Costa said in a statement on Atletico’s official website.

“I’ve always said it, Atletico is my home. I‘m very, very happy. I‘m looking forward to start contributing. I‘m going to give my all for the team, as I always try to do.

“Thank you to the whole club for making this move forward, I‘m very grateful to everyone.”

Costa will have to wait before pulling on the red and white striped shirt of Atletico as the European transfer window is closed.

Also, Atletico are banned from registering new players until 2018 after breaching FIFA rules.