U.N. Secretary-General Ban Ki-moon met with Fidel Castro in Havana on Tuesday for a conversation that ranged from climate change to the civil war in Syria, and said he criticized Cuba's human rights problems.

Ban, who is in Cuba for a summit of the Community of Latin American and Caribbean States, met with the former Cuban leader for 55 minutes, the U.N. chief's office said.

Their talk touched on the troubles in Syria, the Central African Republic, South Sudan and the Democratic Republic of the Congo, the statement said. They discussed food security, climate change and nuclear proliferation.

Ban later told reporters that he also criticized the Communist-run nation on human rights.

"I emphasized the importance of playing a greater role in enhancing human rights, and providing spaces for people's right to peaceful assembly and freedom of association, and the cases of arbitrary detention occurring in Cuba," Ban said in Havana.

"I sincerely hope that the Cuban government will continue working with the international community to enhance further the human rights," he added.

In New York, U.N. spokesman Farhan Haq said Ban raised the issue of human rights during meetings with a number of Cuban officials, including President Raul Castro, who is Fidel Castro's younger brother. Ban also discussed the U.S. embargo on Cuba with Raul Castro.

Ban lavished praise on many of Cuba's initiatives during his first visit to the island.

During a visit to the Latin American School of Medicine, Ban called Cuba's health care system "a model for many countries around the world." He praised Cuba for sending doctors to trouble spots around the world, saying Cuban doctors have been instrumental in bringing down the number of cholera cases in Haiti and have helped improve eyesight for "millions of people in dozens of countries."

Associated Press writer Peter Orsi contributed to this story from Havana.