Bringing the Olympic Games to Rio de Janeiro has been "good for everybody" to put sport in perspective, International Olympic Committee (IOC) president Thomas Bach says.
Despite a string of security incidents in a city plagued by violent crime as well as problems over ticket sales and the completion of venues, the IOC boss was adamant the decision to stage the first Games in South America was the right one.
He said Rio 2016 would be remembered as an iconic games, not only for its historic sporting achievements, but also because of the spirit and passion of the Brazilian people.
"They are also games staged in the middle of reality," Mr Bach told reporters on Saturday.
"These games have been organised in a city where there are social problems, where there are social divides, where real life has continued.
"This was very good for everybody. To be close to reality. Not to be in a bubble for 16 days, isolated from a country, from a society."
Mr Bach said witnessing the social and economic problems the Brazilian people faced on a daily basis served to put the power and the limitations of sport into perspective.
"On one hand to see what sport can do, where sport can help. Where sport can serve to unite people," he said.
"But also to understand at the same time that there are limitations to the power of sport."