Original: During the early age of the Caliphates, Ajam was often synonymous for "barbarian" or stranger.
Simplified: During the early age of the Caliphates, Ajam was often meant the same thing as barbarian.