An Azerbaijani court on Thursday convicted 20 men of planning a series of attacks on the US and British embassies in the capital, Baku.
A court official said the Military Court for Grave Crimes sentenced most of the group to 10 years in prison. The group's leader was a former army lieutenant who was sentenced to 15 years.
The National Security Ministry said the group deserted the army and took with them weapons, explosives and ammunition.
They were arrested in October 2007 as they plotted to attack the embassies and government buildings.