<P> Algeria--Morocco relations have been dominated by several issues since their independence, particularly the 1963 Sand War, the Western Sahara War of 1975 - 1991, the closing of the Algeria - Morocco border in 1994, and the status of Western Sahara . </P> <P> The nation of the former colony of Western Sahara territory has caused a deep - seated antagonism and general mistrust between the two nations that has permeated all aspects of Moroccan - Algerian relations . After Spain announced its intention to abandon the territory in 1975, relations between Morocco and Algeria, who had previously presented a united front, disintegrated . Algeria, although not asserting any territorial claims of its own, was averse to the absorption of the territory by any of its neighbors and supported the Polisario Front's wish to found an independent nation in the territory . Before the Spanish evacuation, the Spanish government had agreed to divide the territory, transferring the majority of the land to Morocco and the remainder to Mauritania . This agreement violated a United Nations (UN) resolution that declared all historical claims by Mauritania or Morocco to be insufficient to justify territorial absorption and drew heavy criticism from Algeria . </P> <P> Guerrilla movements inside the Saharan territory, particularly the Polisario Front (Frente Popular para la Liberación de Saguia el Hamra y Río de Oro), having fought for Saharan independence since 1973, immediately proclaimed the Sahrawi Arab Democratic Republic (SADR). Algeria recognized this new self - proclaimed state in 1976, and has since pursued a determined diplomatic effort for international recognition of the territory; it has also supplied food, matériel, and training to the guerrillas . In 1979, after many years of extensive and fierce guerrilla warfare, Mauritania abandoned its territorial claims and withdrew . Morocco quickly claimed the territory relinquished by Mauritania . Once the SADR gained diplomatic recognition from the Organization of African Unity (OAU) and many other independent states, Morocco came under international pressure . As a result, the Moroccan government finally proposed a national referendum to determine the Saharan territory's sovereignty in 1981 . The referendum was to be overseen by the OAU, but the proposal was quickly retracted by the King of Morocco when the OAU could not reach agreement over referendum procedures . In 1987 the Moroccan government again agreed to recognize the Polisario and to meet to "discuss their grievances ." Algeria stipulated a solitary precondition for restoration of diplomatic relations--recognition of the Polisario and talks toward a definitive solution to the Western Saharan quagmire . Without a firm commitment from the King of Morocco, Algeria conceded and resumed diplomatic relations with Morocco in 1988 . </P> <P> During the Algerian civil war, Algiers accused Rabat of hosting and supporting the Armed Islamic Group of Algeria, an Algerian Islamist terrorist group . The charge was rapidly denied by Moroccan authorities, but the quarrel led to the border closure in 1994, after Morocco accused the Algerian GIA along with the Algerian Services of the Marrakech attack of 1994, where two Spaniards were killed . The borders are still closed, costing $2 billion yearly to the Moroccan economy . In 1999, the newly elected Algerian president Abdelaziz Bouteflika, attended Hassan II of Morocco's funeral, and declared 3 days of official mourning in Algeria for his brother's death . The same year the Algerian president accused Morocco of hosting GIA bases, from which some attacks on Algerians were planned and directed . A few days later he again accused Morocco of exporting drugs into Algeria . In July 2004, the king abolished visa requirements for Algerians entering Morocco; in April 2006, Algerian President reciprocated the gesture . In 2012 Algerian prime minister Ahmed Ouyahia said border reopening was not a priority for his government . Other official declarations imply that this issue is not to be solved soon . </P>

How did the oau help to settle disputes between morocco and algeria
find me the text answering this question