The Indian military has been talking about a two-front war with neighbors Pakistan and China for decades to keep politicians focused on defense spending. Now that scenario is looking ever more realistic, with conflicts flaring on both its disputed borders.

Talks earlier this week between top Chinese and Indian army commanders in the Ladakh region ended without a major breakthrough, the second such attempt to cool things down since 20 Indian soldiers and an unknown number of Chinese troops were killed on June 15 in their worst clash in four decades. Around the same time, weapons and explosives were recovered and two suspected terrorists were killed after a 15-hour gun battle some 660 kilometers (410 miles) away in south Kashmir, officials said.

India has fought four wars with China and Pakistan since it gained freedom from British rule in 1947, but it has never had to defend both borders at the same time. Indian military officials are growing concerned that China and Pakistan might gang up on New Delhi at a time when Prime Minister Narendra Modi’s government is faced with surging coronavirus infections. Modi made a surprise visit to Indian Army headquarters in Leh on Friday, where he was briefed on the nine-week long face-off with China.