Spanish police said on Thursday they had detained three Pakistanis and six Iranians suspected of drugs trafficking and money laundering.
The police said the nine men were picked up in a raid in Madrid after a series of violent robberies during which some of the suspects had posed as police officers.
All nine face expulsion following the raid which ended a monitoring operation begun in August.