A Spanish court official says 14 people have gone on trial charged with involvement with Islamic terrorist groups and recruiting extremists to fight in Iraq.

Some of the 14 are also accused of helping suspects in the March 11, 2004 train bombings in Madrid to flee Spain.

The 14 suspects, mainly from Morocco, were arrested in a series of raids over recent years, mostly in the northeastern region of Catalonia.

They are charged with belonging to or collaborating with Islamic terrorism groups. The prosecution is seeking sentences of between 7 and 14 years.

The official says the trial at San Fernando de Henares, just outside of Madrid, is likely to last several days. He spoke on condition of anonymity in keeping with court regulations.