Then, when the groups learned of one another's existence, the boys immediately drew lines in the sand.
The groups learned to work together. 
mnli hypothesis: The groups learned to work together.  premise: Then, when the groups learned of one another's existence, the boys immediately drew lines in the sand.