what did Spaniards contribute to cagayan