TEL AVIV, Israel (AP) _ A district court Thursday sentenced four Palestinians to up to seven years in jail on a conviction of planning to attack the United States Embassy.

The assault was never carried out. Prosecutor Severin Schrater told The Associated Press the defendants told police they carried grenades to the embassy in November 1984 but decided not to attack when they saw the large number of security guards around the seaside building.

Presiding Judge Yaacov Maltz sentenced Adel Saadouni, 21, to seven years in prison and Tewfik Darwish, 20, to five years.

Two defendants under the age of 18, whose names could not be published because of their youth, were sentenced to three-year and 21/2 -year terms, respectively, Schrater said.

In court, the four charged that police had extracted their confession by force. A three-judge panel rejected their claim in convicting them July 11, said Schrater said.

The four, all from the Israeli-occupied Gaza Strip, were arrested Dec. 2. Police found Israeli army grenades in a house out of which they were operating in Nes Ziona, a small town 9 miles south of Tel Aviv.

The embassy overhauled its security arrangements after learning of the planned attack. Cars were banned from parking in front of the building and a cement wall was built in front of the embassy.