thus the spanish actions in the country came to an end