Excavations in 2023 at Oued Beht in northwestern Morocco uncovered a large structure that probably served as a defense. Dating from about 4,000 to 3,500 years ago, it is the earliest known large defensive construction in North Africa outside the Nile Valley.
The system included a ditch, a raised bank of earth, and a wall across a narrow section of a ridge. It protected the ridge’s southern end, between a river and a ravine. Such construction required planning and coordinated work, suggesting a more organized society than researchers previously believed.
The exact purpose remains uncertain. Rather than defending against invaders, people may have been competing over land, resources, or control of movement through the area. Communities in northwestern Africa also had connections across the Mediterranean, including with present-day Spain and Portugal. Earlier discoveries at Oued Beht revealed a large farming complex dating to about 5,400 to 4,900 years ago. Its people grew wheat and barley, raised animals, and produced stone tools and pottery.
The ridge became important again between the 11th and 13th centuries. People rebuilt the defensive structure and established a small village or farm on a nearby hilltop. A cemetery lay between the two areas. These remains show that different communities returned to the landscape thousands of years apart.






