Respuesta :

To protect the Spanish territory from the French :)
The major purpose of the Spanish fort was to protect the Spanish territory from the French. I hope this helps, but I'm pretty sure it's close.