Complex sentence: The Spanish Civil War showed that tanks armed only with machine guns were ineffective and an improved model--the M2A4--was produced with a 37 mm gun as the main armament.
Split into simpler sentences: The Spanish Civil War showed that tanks armed only with machine guns were ineffective. This led to the the M2A4 with a 37 mm gun as the main armament.