Eliaquim Mangala made an emotional departure from Manchester City after making his final move to Valencia.
The French defender came to Porto for 32 million pounds in 2014, but never secured a place in the starting eleven.
Injuries also hampered his progress in Manchester, which meant he had been loaned to Valencia and Everton on loan in recent seasons.
Mangala did not make a single appearance under Pep Guardiola last year and it was obvious he would be promoted during the summer transfer window.
The 28-year-old has signed a two-year deal with Valencia and is on a free transfer to get his career back on track.
After leaving City, Mangala wrote a message on his Instagram profile and thanked the club for the past five years.
"In recent years, I have grown tremendously as a player and a man," he wrote. "I have many fond memories of my time in City – especially all the titles and the semi-finals of the Champions League – a special thought of all the great people I've met.
"Thanks to my teammates, for whom I have always had very good relationships, the staff, trainers and all the staff for their daily support."
The defender also welcomed the club for its support during his recovery following an injury and wished the fans all the best for the upcoming season.
Mangala added: "Many thanks to Manchester City for the help and support I received during my recovery last year, and finally, to all the fans for your continued support, even in the most difficult moments and all the best for this season."
Manchester City midfielder Fernandinho responded to the post with the words, "All the best, with everything, hugs!"