 It was also a linchpin in the broad zone of protective forts built to protect the Samanid empire from nomadic raiders.Moqaddasi numbered these fortresses, or "ribāṭ"s, at 1,700.They built outer walls to protect the crops of the inhabitants from raiders, but the town was not only a military outpost.