The town was surrounded by a mud wall with a circumference estimated at 10 kilometres (6 mi), pierced by six gates, and protected by a ditch five feet deep, filled with a dense growth of prickly acacia, the usual defence of West African strongholds. Within the walls were villages separated by fields, several royal palaces, a market-place and a large square containing the barracks.