"I have had a great career in football, something I would not change for the world," said the 30-year old defender.
"I have had 10 good years injury free and consider myself to have been lucky to have the opportunity to play football as a career.
"City have been very supportive throughout my time with the club and I would particularly like to thank Kevin Keegan and the physio team for their dedication."