TURIN, ITALY - DECEMBER 23: Medhi Benatia of Juventus FC celebrates after scoring a goal during the serie A match between Juventus and AS Roma at the Alliannz Stadium on December 23, 2017 in Turin, Italy. (Photo by Gabriele Maltinti/Getty Images)

Medhi Benatia revealed he thought he would end up finishing his career at Juventus but was forced to leave after a change of plans.

The 31-year-old defender found himself out of favour at Juventus this season following Leonardo Bonucci’s return from AC Milan.

Due to this, Benatia was restricted to just six appearances in all competitions and so he decided to end his two-and-a-half-year stay at Juventus for Qatari club Al-Duhail SC in an €8m transfer.

Now the Morocco captain has taken the opportunity to bid a fond goodbye to everyone associated with Juventus

“Hello everybody,” Benatia wrote on Instagram.

“After two very busy days, I wanted to take this opportunity to say goodbye to this great family at Juventus, the players, fans, staff, coaches, physios, kit-men… and the rest of the Juve family, which I will miss for sure.

“I leave behind a lot of friends who I hope to see again soon. You’ve all been the centre of my life for two-and-a-half years.

MILAN, ITALY - FEBRUARY 17: Radja Nainggolan of FC Internazionale celebrates his goal with his team-mates during the Serie A match between FC Internazionale and UC Sampdoria at Stadio Giuseppe Meazza on February 17, 2019 in Milan, Italy. (Photo by Emilio Andreoli/Getty Images)

Everybody is happy at Inter Milan

From coach Luciano Spalletti to goalkeeper Samir Handanovic, the team's footballers are delighted to have defeated Sampdoria 2-1 at San Siro Stadium.

“We lived a lot of things together and achieved great success. In July I was certain I’d have finished my career with you all.

“But, unfortunately, life has some surprises in store for you so I had to change my plans, but always with the desire to win, while looking to also make a decision for my family.

“Thanks for the love. I understand someone don’t want to accept my choice, so I only ask you to respect it.

“Forza Juve, try to win everything with this wonderful group.”

Since arriving from Bayern Munich in an initial loan deal in 2016, Benatia managed five goals in 59 appearances across all competitions for Juventus and leaves with two Serie A titles and two Coppa Italia crowns.

He has also played for Marseille, Tours, Lorient, Clermont, Udinese and AS Roma.