Respuesta :

In 1878, the rebel leaders and Spanish government signed the Pact of Zanjon .