Complex sentence: Casares failed to heed Prieto's warnings of a military conspiracy involving several generals who had decided that the government had to be replaced if the dissolution of Spain was to be prevented.
Split into simpler sentences: Casares failed to heed Prieto's warnings of a military conspiracy. Several generals decided that the government had to be replaced if the dissolution of Spain was to be prevented.