 Also in 1851 a peace treaty was signed between the Sulu Sultanate and the Spanish, though the terms were understood differently by each party.In 1876, the Spanish launched a campaign to occupy Jolo.Spurred by their need to curb slave raiding, and concerned about other European colonial efforts in the region, the Spanish made a final bid to consolidate their rule in their southern frontier.