The borders between Morocco and the Spanish enclaves of Ceuta and Melilla have been reopened after more than two years.

Dozens of cars and pedestrians passed the border crossings on Tuesday night, AFP journalists reported.

"I was stranded in Ceuta for two years and I'm very happy to come home," said Moroccan Nourredine.

The only land borders of an EU country with an African state were closed in spring 2020 as part of the first wave of the corona pandemic.

Because of diplomatic tensions between Madrid and Rabat, it then stayed that way.

In the past few weeks, however, the two countries had come closer again.

The Spanish government made a diplomatic change of course in March after a long dispute over Morocco's control of Western Sahara.

Madrid recognized the Moroccan autonomy plan for the disputed area, which envisages, among other things, offering Western Sahara autonomy under Moroccan sovereignty.

Since then, ferry connections between Spain and Morocco have been resumed and programs for police cooperation have been launched.

Entry into Ceuta and Melilla is initially only possible for holders of passports and visas from Schengen countries.

Moroccan cross-border commuters who do not need a visa to enter the Spanish exclaves must wait until May 31.