Respuesta :

Answer:

By signing the treaty of Córdoba after the Spanish conquest and gaining independence from Spain.

They signed a treaty that separated them from Spain.