How did Spanish authorities respond to the rebel attacks led by José Martí?

Spanish authorities agreed to give food to rebels in return for peace.

Spanish authorities agreed to grant Cuba its independence in 1898.

Spanish authorities herded Cubans into reconcentration camps to deprive rebels of recruits.

Spanish authorities responded to the rebel attacks led by José Martí by herding Cubans into reconcentration camps in order to deprive the rebels of potential recruits and support. This harsh response worsened the situation and ultimately led to the Spanish-American War in 1898, which resulted in Spain losing control of Cuba.