Algeria has threatened to cut off gas supplies to Spain.

Algeria's warning comes in the wake of Madrid's decision to provide gas to Morocco in reverse flow through a pipeline that connects Spain to Morocco.

Algeria has threatened to cut off gas supplies to Spain.

Algeria has threatened to stop supplying gas to Spain if any of it ends up in a country not named in the contract.

It claimed that delivering the gas to a third party would constitute a breach of the agreement between Algeria's state-owned Sonatrach and its Spanish customer.

Spain has reaffirmed its intention to ship gas to Morocco but claims that none of the gas would come from Algeria.

Algeria's warning comes in the wake of Madrid's decision to provide gas to Morocco in reverse flow through a pipeline that connects Spain to Morocco.

The Maghreb-Europe pipeline, which also sent gas to Morocco, has not been utilized since October, a few months after Algeria cut diplomatic ties with its neighbor.

Algeria and Morocco have had a tense relationship for a long time, particularly over the disputed territory of Western Sahara.

Algeria delivered more than 40% of Spain's natural gas through a direct pipeline last year.

Amid the Russia-Ukraine conflict, European countries have been looking to African countries for natural gas supply.