Complex sentence: In an attempt to frighten and disperse the crowd, the police fired warning shots into the air but this only agitated the crowd who began to throw stones at the police.
Split into simpler sentences: In an attempt to frighten and disperse the crowd, the police fired warning shots into the air. This only agitated the crowd who began to throw stones at the police.