According to a representative of India's foreign ministry, the prime minister of India and the president of China reached an agreement on Thursday to step up efforts to reduce tensions along their disputed border and to withdraw thousands of their soldiers stationed there.

At a conference in Johannesburg, the BRICS group of emerging nations—Brazil, Russia, India, China, and South Africa—invited six other nations to join, including Saudi Arabia and Iran. Prime Minister Narendra Modi and President Xi Jinping met there.

India’s Foreign Secretary Vinay Mohan Kwatra told Indian reporters that Modi, in an impromptu meeting with Xi, highlighted India’s concerns about their unresolved border issues.

The disputed boundary has led to a three-year standoff between tens of thousands of Indian and Chinese soldiers in the Ladakh area. A clash three years ago in the region killed 20 Indian soldiers and four Chinese.