B.Spain crushed the revolts and remained in control of all but a few of its Latin American colonies.
In afct Spain suffered the ignominy of leaving the whole of Latin America (with not even an Island in the Caribbean) to the natives & winding up its Empire there.