As soon as Spain got invaded, many Spanish Americans used this to fight for independence due to a weaker Spain, However, assuming Spain does not get invaded, how long will it be till the Spanish Americas become independent? And how would this affect the Texas War in Independence and the OTL Mexican-American War?