The National Court on Friday convicted five Algerian men on Islamic terrorism charges and sentenced them to 13 years each in prison, according to a copy of the court sentence viewed by CNN.
The three-judge panel acquitted a sixth defendant, also an Algerian man.
The court convicted each of the five men for membership in a terrorist organization and for document forgery for terrorist purposes, the sentence said.
But the court also acquitted the five men on the more serious charges of conspiracy to carry out a terrorist attack and possession of explosives.
One of the five, Mohamed Tahraoui, 24, had been charged in an alleged plot on the military base, Rota, where U.S. and Spanish troops are based, near the Strait of Gibraltar. But that charge was not proven in court. Instead he was sentenced to 13 years in prison for membership in a terrorist group and document forgery. --From CNN Madrid Bureau Chief Al Goodman