A group of 41 refugees, including a pregnant woman, have been stuck in the desert frontier area since mid-April
Algeria has agreed to take in 41 Syrian refugees trapped since mid-April in a desert area that borders neighbouring Morocco, the foreign ministry said on Thursday.
The decision comes two days after the UN refugee agency said the plight of the refugees - who include a pregnant woman - was "untenable", urging Algeria and Morocco to work for a solution.
In a statement carried by APS news agency, the foreign ministry said Algeria would take in the refugees as an "exceptional humanitarian gesture".
It said the decision was also meant to mark the holy Muslim fasting month of Ramadan, during which the pious are urged to be charitable and devote themselves to prayer.
— Kareem Hourani (@kareem_ho) May 13, 2017
The refugees would be housed and fed and if they wish be reunited with family members in a third country, a ministry spokesman said in the statement carried by APS.
On Tuesday the UNHCR said "prompt" action by Morocco and Algeria was needed to facilitate "the immediate and safe passage of the 41 vulnerable Syrian refugees".
The group trapped since 17 April included children and women, including at least one who was in need of an urgent caesarean section, it said.
At the time, Morocco accused its neighbour of expelling the refugees to "sow trouble" and "generate an uncontrollable flow of migrants".
Algeria "categorically" rejected the allegations as false.
It sparked a diplomatic spat, with each country summoning the other's ambassador.
More than 40,000 refugees from Syria have settled in Algeria since the start of their country's civil war in 2011.
Millions of Syrians have been forced to flee their homes while more than 320,000 people have been killed.