Since Russian President Vladimir Putin unleashed a large-scale attack against Ukraine on Thursday, the Biden administration has sought to rally allies and partners to condemn Russian aggression and join in trade and financial sanctions.One country that has conspicuously rebuffed Biden’s appeals is India, a rising Asian power that relies on Moscow for almost all its advanced weapons.

For years, India has juggled its close relations with Russia — an enduring legacy of the Cold War — with its fast-growing ties with the United States, which has envisioned India as a crucial partner in its long-term strategy to counter China’s rise.

But India’s balancing act is proving increasingly difficult this week as Russian tanks and fighters bear down on Kyiv in a war that has drawn a thick line between the West and Russia, with only China as Moscow’s major economic and diplomatic backer.

While Japan, Australia and the United States all unveiled new export bans against Russia on Thursday and Friday, India — the fourth leg of the grouping known as the Quad — demurred, highlighting a glaring fissure in one of the key American partnerships that Biden has pledged to repair and strengthen.

Facing pressure from both sides, India on Friday joined China and the United Arab Emirates in abstaining from a United Nations Security Council resolution that would have condemned the invasion. Russia vetoed the measure.

In remarks Thursday, Biden urged countries to take a stand against Putin, saying that “any nation that countenances Russia’s naked aggression against Ukraine will be stained by association.” The United States was pressing India about its stance toward Russia, Biden told reporters. “We haven’t resolved that completely,” he added.

Meanwhile on Thursday, Indian Prime Minister Narendra Modi spoke with Putin and called for “concerted efforts from all sides to return to the path of diplomatic negotiations,” according to a readout from the Indian government. Modi’s language diverged sharply from the Western characterization of the Russian attack as a one-sided, unprovoked invasion of a sovereign nation.

Derek Grossman, a senior defense analyst at the Rand Corp. think tank, said the Quad grouping — a cornerstone of Biden’s Indo-Pacific strategy to counter China — “could easily fray.” In recent weeks, other Quad nations have condemned Moscow as Russian troops massed around Ukraine — but not India.

The Russian operation “is clearly breaking the rules-based order, which is whole reason the Quad got together in the first place,” Grossman said. “For India to continue to sit on the sidelines — that’s going to become increasingly an untenable position if they want to maintain good ties not just with the Quad but also Europe.”

Indian sympathies for Russia — and Russia’s support for India — reach back to the early decades of the Cold War, when Washington often sided with India’s archrival, Pakistan, over issues including the contested Kashmir region. In 1971, when India fought Pakistan over Bangladesh, the United States backed Pakistan in part because it was a crucial party to a plan by President Richard Nixon to secretly establish relations with China. In the ensuing years, Indian military imports from the Soviet Union soared, while at the diplomatic level, it maintained a stated policy of nonalignment.

Today, Russia has leased a nuclear submarine to India. Russian scientists are helping develop India’s hypersonic missile program. Russian T-90 tanks form the backbone of India’s ground forces, and Russian MiG and Sukhoi fighter jets are mainstays in its air force. The Indian navy’s flagship is an aircraft carrier — a “Kiev-class” — purchased from Russia.

According to the Stockholm International Peace Research Institute, Russia is by far India’s largest arms supplier, accounting for 70 percent of India’s imports between 2011 and 2015 and roughly half between 2015 and 2020. India recently purchased Russian S-400 antiaircraft missiles, which could trigger U.S. sanctions.