Complex sentence: Emilio Aguinaldo, who held the office of President in the revolutionary government, and other revolutionary leaders were given amnesty and a monetary indemnity by the Spanish government in return for which the rebel government had agreed to go into voluntary exile in Hong Kong.
Split into simpler sentences: Emilio Aguinaldo, who held the office of President in the revolutionary government. Other revolutionary leaders were given amnesty and a monetary indemnity by the Spanish government in return for which the rebel government had agreed to go into voluntary exile in Hong Kong.