TIANJIN, China (AP) — Chinese leaderXi Jinpingmet with Indian Prime MinisterNarendra Modiahead of the opening of a regional summit on Sunday in Tianjin, in a formal thaw between the two nuclear-armed powers. Modi is on his first visit toChinasince relations between the two sides deteriorated after Chinese and Indian soldiers engaged in deadlyborder clashesin 2020. Modi is visiting as part of India's membership into the Shanghai Cooperation Organization, a regional political, economic and security group founded by China. Ahead of Modi's visit,China's top diplomat Wang Yi flew to New Delhiearlier in August, as the two sides announced their rapprochement. Both governments pledged to restart border talks, and resume issuing visas and direct flights. Wang's visit coincided with U.S.President Donald Trump's decision to impose50% tariffs on Indiafor its purchase of Russian oil, but Delhi's process of rebuilding ties with China had been in the works for months. China and India this year have increased official visits and discussed easing some restrictions on trade and the movement of people across the border. In June, Beijing allowed pilgrims from India to visit holy sites in Tibet.