DAKAR, Senegal — Leaders from more than 40 African nations descended on the southern Russian city of Sochi last week, shaking hands, snapping photos and inking billions of dollars in business deals. President Vladimir Putin met with six presidents on Thursday alone.

The splashy show of unity, dubbed the first Russia-Africa summit, sent a clear message to the world, Putin told guests: It had “opened up a new page in the history of Russia’s relations with African countries.”

That new page comes as Russia is already Africa’s biggest arms supplier and aims to restore links that crumbled after the Soviet Union collapsed, through infrastructure projects and security reinforcement. 

Moscow — offering power plants, attack helicopters and mercenaries — is hailing itself a major player on the continent at a time when the United States and China are also vying for influence, analysts say.

The Kremlin unveiled plans to double trade with African countries to $40 billion while making a symbolic statement with nuclear bombers: Two Tupolev Tu-160s landed in South Africa for a first-time training mission as the meeting on the Black Sea kicked off Wednesday.

The Trump administration has pledged to foster more business ties with African partners while countering Chinese and Russian influence on the continent, which it has called a “significant threat” to national security interests. But analysts say the other superpowers are perceived in Africa as more invested — Chinese and Russian leaders visibly spend more time with their African counterparts.

“The U.S. isn’t paying attention, and Russia is rushing in to fill the void,” said Paul Stronski, senior fellow at the Carnegie Endowment for International Peace’s Russia and Eurasia Program.

The United States is the globe’s top foreign-aid donor — about a third of those funds go to Africa — and runs dozens of military bases that supply manpower, training and intelligence on the continent. U.S. trade with Africa, at $39 billion, still eclipses Russia’s.

Moscow, which has a smaller pocketbook, is seeking to gain the upper hand with a flood of soft power, Stronski said. 

Putin made the 14-hour flight to South Africa last year, for instance. President Trump has yet to visit the continent. (His wife, first lady Melania Trump, and daughter Ivanka Trump made trips last year.)

Russia welcomed 43 heads of state or government, along with dozens of business and community leaders, in Sochi. Trump has hosted a much smaller set of African leaders, including official visits from Nigerian President Muhammadu Buhari and Kenyan President Uhuru Kenyatta.

In a Thursday speech in the resort city, Putin asserted that his country has “supported the struggle of the peoples of Africa against colonialism, racism and apartheid.” (Trump sparked outrage on the continent last year after referring to some African nations by a derogatory phrase in a White House meeting.)

The Trump administration’s biggest event on the continent to date, meanwhile, irked some African observers, who criticized the United States for sending no Cabinet heads to an event attended by 11 African presidents. 

Commerce Secretary Wilbur Ross was supposed to promote Prosper Africa, a program meant to increase business partnerships, at June’s U.S.-Africa Business Summit in the southern nation of Mozambique but canceled because of a scheduling conflict.

The program, widely seen as the White House’s Africa strategy, was designed to provide technical help to companies trying to enter or expand in Africa, which is urbanizing more quickly than anywhere else.

The Sochi summit spawned $12.5 billion in business deals, largely in arms and grains, the Kremlin said. But most of those contracts made no guarantee of investment, the Financial Times reported.

Russia is highlighting collaboration over aid, and that message is tempting to some leaders who view the West’s outreach as patronizing, said Bakary Sambe, director of the Timbuktu Institute African Center for Peace Studies in Dakar.

“Africa no longer wants to have all our eggs in one basket,” Sambe said. “We want equal exchanges, as opposed to colonial power relations.” 

Earlier this month, Russia announced plans to send more weapons and instructors to the Central African Republic to aid the government’s battle against rebel groups — a move that bolsters its biggest military footprint on the continent. 

Putin wants to forge strategic alliances with like-minded rulers, said Joshua Meservey, an Africa analyst at the Heritage Foundation.

“African countries are the largest voting bloc in the U.N.,” he said, “and they frequently vote together.”

Borso Tall contributed to this report.