It has served both as a military structure and as a religious watch tower during the Spanish Colonial Period .
It has served both as a religious structure and as a military watch tower during the Spanish Colonial Period .