After a 2020 border clash killed at least 20 Indian soldiers, Prime Minister Narendra Modi took a range of steps to block investment from China, even going further than the U.S. in some areas.

Now, there’s a recognition in New Delhi that he may have gone too far.

Modi met with Chinese President Xi Jinping on Wednesday at the BRICS summit in Russia, where the two leaders pledged to stabilize relations.