Relations were damaged for a time by the United States bombing of the Chinese embassy in Belgrade in May 1999, which was stated by the White House to be miscoordination between intelligence and the military, although which some Chinese believed to be deliberate. In any case, Beijing for several days was rocked by massive anti-US demonstrations. By the end of 1999, relations began to gradually improve. In October 1999, the two countries reached an agreement on compensation for families of those who were victims, as well as payments for damages to respective diplomatic properties in Belgrade and China. US-China relations in 1999 were also damaged by accusations that a Chinese-American scientist at the Los Alamos National Laboratory had given US nuclear secrets to Beijing.