<prompt> Translate the following text to EnglishMajeshi ya siri ya China yalifanya vita vya mara kwa mara kwa ajili ya kudhibiti migodi hiyo, na hivyo kukomesha uzalishaji wakati ambapo mahitaji ya dunia ya bati yalikuwa yamefikia kilele.  <response>: Chinese secret societies waged constant gang wars for the control of the mines, bringing production to a halt at a time when world demand for tin was at a peak. 