How did The Louisiana Purchase change the relationship between Spain and the US?

It changed it by Making the Spain territory decrease.