What was the purpose of the Spanish mission?

To provide a religious teaching for the soldiers at the Spanish forts
To spread the Catholic faith to the Native Americans
To establish an outpost for exploration of new lands
To act as a buffer against the French and other European intruders