Chinese President Xi Jinping spoke briefly with his Japanese counterpart at the Group of 20 summit in Russia, in the first contact between the two leaders amid year-long tensions over disputed islands, state media reported on Friday.

China had earlier ruled out the possibility of a meeting between the two on the sidelines of the St. Petersburg summit. China has put relations with Japan in the deep freeze since last September when Tokyo nationalised a group of islands claimed by China.

It said Mr Xi told the Japanese leader that ties between their nations were facing “grave difficulties,” and that Japan should “correctly deal” with sensitive issues such as the islands dispute. Problems should be handled “in line with the spirit of facing history squarely and looking forward to the future so as to seek a way to properly manage differences,” Xinhua quoted Mr Xi as saying.

It said that Japanese leader Shinzo Abe responded by saying he was “eager to improve Japanese-Chinese relations.”

While brief and informal, the exchange was the first the two have had since Mr Abe returned as Prime Minister and Mr Xi took over as head of the ruling Communist Party last year. While unlikely to bring an immediate end to the tensions, it appeared to be a sign that Mr Xi does not want a further deterioration in ties.

Chinese anger at Japan’s move to buy the tiny, uninhabited islets in the East China Sea sparked violent protests and destruction of Japanese property in several Chinese cities. Beijing also began sending patrol ships to confront Japanese vessels in waters surrounding the islands, called Senkaku by Japan and Diaoyu by China.

While tensions have receded somewhat in recent months, China has yet to restore regular contacts and it called in the Japanese ambassador last month to protest over visits by Japanese ministers to a Tokyo shrine at which fallen soldiers, including convicted war criminals, are worshipped.

More In: World | International | News