Afghan rebels fighting the Kremlin-backed government of President Najibullah shelled the Soviet Embassy in the capital of Kabul Thursdsay, the Tass news agency said.

"It was only by luck that no resident of the Soviet Embassy compound was hurt," Tass said, explaining that one rocket blew up near an administrative building.The mujahideen, who fought the Soviet army for nine years before its withdrawal in February, fired surface-to-surface missiles at the embassy at 5:45 a.m. local time, Tass said in the dispatch from Kabul.

The Soviets built an extra wall around the diplomatic compound before the withdrawal of their forces. All dependents have also been withdrawn.

But a fairly sizeable embassy staff remains in Kabul.