Had no effect on the war I think because it was fought after the treaty was already signed.
Spain was able to establish colonies in large areas of different continents. Hope this helped!
Answer:
California
Explanation:
California was the state admitted from Mexico