Bins and street furniture were set on fire during disturbances following the death of a Senegalese street vendor in Madrid on March 15.
The man was named in local media as Mame Mbaye.
A police source quoted in El Pais said the violent protests arose because of a conflating of two separate events, one in which a man died despite police efforts to resuscitate him, and another where police were pursuing sellers of counterfeit merchandise.
Other reports, however, cited witnesses who said the police had been chasing the man shortly before his death.
Videos posted online showed bins set on fire during the unrest, and a strong riot police presence.
Six people were detained and 10 police officers were injured. Credit: Sandra Bernardo via Storyful