Often the mission served multiple purposes — its specific religious function, as well as an economic function, and sometimes, as a fortress to protect its area residents against attack. However, there were also specific structures established to protect the Spanish priests and their followers — the presidio.