The widespread and sometimes violent protests that have erupted in China since the bombing of the Chinese embassy in Belgrade present the country's leadership with a dilemma.
They are the biggest demonstrations directed against any foreign country in China since Beijing began opening its doors to the outside world two decades ago.
They also involve the biggest participation by students in public protests since the Tiananmen Square unrest of 1989.
Speaking to the American network NBC, the US Ambassador to China James Sasser said he thought the protests were exceeding the government's expectations.
He said there was a danger that they could, as he put it, go out of control.
Anti-American feeling
To a leadership which often accuses America of trying to subvert the communist system, it must be satisfying to see such an outpouring of anger directed at the United States.
These have been by far the biggest anti-American demonstrations in China since the Cultural Revolution of the 1960s and 70s.
Ten years ago in Tiananmen Square, students enraged the government by erecting a statue similar to New York's Statue of Liberty.
Now they are cursing Americans in much the same language that the government itself is using.
The Chinese leadership must also be concerned, however, about the danger of nationalist sentiment being exploited by political dissidents.
The leadership has frequently stressed the paramount importance of maintaining social stability this year because of the risk that sensitive anniversaries.
These have included that of the 1989 unrest as well that of the founding of communist China 50 years ago.
The dates could be used by dissidents to air their grievances.
At a time of widespread public discontent over unemployment, corruption and an economic slowdown, the leadership fears that any protests could trigger serious instability.
It is also likely to be worried that a sustained wave of anti-Western unrest could scare away foreign investors.
Leadership concerned
However, attempting to curb the angry gatherings outside American and British diplomatic missions is fraught with potential risks for the government.
If the authorities were to crack down in a way deemed too heavy-handed by participants, there is a danger that student and indeed general public anger could be redirected towards the government.
Sunday's televised speech by the vice president Hu Jintao appeared to reflect the leadership's concerns.
While paying tribute to what he called the keen patriotism of participants, he warned against people making use of the opportunity to disrupt social order.
Clinton regrets embassy bombing
(10 May 99 | Asia-Pacific)
Robinson attacks Nato campaign
(09 May 99 | Europe)
UN moves to ease refugee burden
(09 May 99 | Europe)
Embassy strike: What went wrong
(09 May 99 | Europe)
Picture gallery: Fury at embassy bombing
(09 May 99 | Asia-Pacific)
Calls for Agani killing probe
(09 May 99 | Europe)
The Chinese embassy strike in quotes
(08 May 99 | Europe)
Analysis: Nato's diplomatic blunder
(08 May 99 | Europe)
Nato
Chinese Ministry of Foreign Affairs
Serbian Ministry of Information
Kosovo Crisis Centre
UNHCR Kosovo news
Eyewitness accounts of the bombing
OSCE
International Court of Justice
The BBC is not responsible for the content of external internet sites.
Indonesia rules out Aceh independence
DiCaprio film trial begins
Millennium sect heads for the hills
Uzbekistan voices security concerns
Chinese imports boost US trade gap
(From Business)
ICRC visits twelve Burmese jails
Falintil guerillas challenge East Timor peackeepers
Malaysian candidates named
North Korea expels US 'spy'
Holbrooke to arrive in Indonesia
China warns US over Falun Gong
Thais hand back Cambodian antiques