Spain is deploying its military to restore order at its border with Morocco in Ceuta after thousands of migrants entered the Spanish territory.

Thousands of migrants streamed across from Morocco into the tiny Spanish territory of Ceuta on Thursday.

Spain said Thursday it would send troops to its north African exclave of Ceuta to ensure security after hundreds of migrants arrived, some swimming by sea