A court has released six Moroccans arrested for allegedly having helped suspects in the 2004 Madrid terror bombings.

The National Court said Tuesday the six were among 10 questioned following raids near Barcelona, Madrid and Algeciras last week. Four men in jail on other charges were also questioned.

The six will have to check in with the court periodically.

The Interior Ministry says the detainees had been suspected of giving shelter to Islamic extremists — including at least five suspects i the March 11, 2004, train bombings that killed 191 people in Madrid — and helping them to flee the country.

The ministry also says they were suspected of helping finance Al Qaeda and recruit suicide bombers for attacks in Iraq.