MANILA, Philippines (AP) _ Demonstrators pelted the U.S. Embassy with eggs Thursday to protest a pact that would allow U.S. troops to train in the Philippines.

About 500 protesters from several leftist groups marched to the U.S. Embassy, which has been guarded more heavily by Manila police since last week's attacks on two U.S. embassies in Africa.

Protesters demonstrated for about 30 minutes, then threw eggs at the embassy gates before dispersing peacefully.

The pact, called the Visiting Forces Agreement, has already been signed by the two sides, but must still be approved by the Philippine Senate. The differing treatment given to military personnel who commit crimes could stall its ratification.

Filipino troops who commit crimes while on duty in the United States will be subject to local prosecution, Foreign Secretary Domingo Siazon said. Under the agreement, however, the United States will have automatic jurisdiction over American troops who commit crimes while taking part in exercises in the Philippines.

The United States halted major joint exercises in the Philippines and visits by military ships in December 1996 when the Manila government closed a legal loophole that had shielded U.S. military personnel from prosecution for crimes committed here.

Military ties with the United States have remained a sensitive issue since a nationalist Philippine Senate forced the closure of the last U.S. base in the country in 1992, ending almost a century of American military presence in its former colony.