But images quickly emerged that "show bodies strewn on the ground in pools of blood, Moroccan security forces kicking and beating people, and Spanish Guardia Civil launching teargas at men clinging to fences," according to Human Rights Watch.
The migrant rush in Melilla came after Madrid and Rabat normalised their diplomatic relations following an almost year-long crisis centred on the disputed Western Sahara territory.
For Spain, the main objective of the diplomatic thaw was to ensure Morocco's cooperation in controlling illegal immigration.