now , the berrachai conflict was so deeply entrenched in their cultural identity that it took many years to negotiate peace between the territories , and to prevent the great civil riots that often killed millions of berrachai .