What was Spain’s goal during the French and Indian War?

to help the colonies defeat Britain
to gain control of northern territories
to claim territories in Florida
to ensure France did not expand into the West