in 1783 spain controlled the land along the Pacific that is now the state of