The town became part of the Moroccan-controlled zone in the April 1976 partition resulting from the Madrid Accords. It has remained in Moroccan hands, though mining was paused in 1976 as a result of Polisario guerilla attacks. During the Western Sahara War the Polisario sabotaged and disabled this transportation system several times. These attacks gradually ceased in the early 1980s when the town become enclosed by the Moroccan Wall, which consolidated Moroccan control over the north-western part of Western Sahara (the so-called "Useful Triangle"). Mining resumed on a reduced scale in July 1982.