Complex sentence: By the third week of June the Peruvians were in critical condition as the Chileans had almost cornered them.
Split into simpler sentences: By the third week of June the Peruvians were in critical condition. The Chileans had almost cornered them.