Complex sentence: President Azaña in August 1938 attempted to oust the prime minister, Juan Negrín, but failed due to Negrin's support by communists in the government and armed forces, leading Azaña to resign from office.
Split into simpler sentences: President Azaña in August 1938 attempted to oust the prime minister, Juan Negrín, but failed. Negrin was able to survive with the support of communists in the government and armed forces, leading Manuel Azaña to resign from office.