and the Moros of Mindanao and the Sulu archipelago. In 1578, an expedition sent by Governor Francisco de Sande and headed by Captain Rodriguez de Figueroa began the 300-year conflict between the Tausūgs and the Spanish authorities. In 1579, the Spanish government gave de Figueroa the sole right to colonize Mindanao. In retaliation, the Moro raided Visayan towns in Panay, Negros, and Cebu, for they knew the Spanish conscripted foot soldiers from these areas. Such Moro raids were repelled by Spanish and Visayan forces. In the early 17th century, the largest alliance, comprising Maranao, Maguindanao, Tausūg, and other Moro and Lumad groups, was formed by Sultan Kudarat or Cachil Corralat of Maguindanao, ruler of domains extending from the Davao Gulf to Dapitan on the Zamboanga peninsula. Several Spanish expeditions suffered defeat at their hands. In 1635, Captain Juan de Chaves erected a fort and established a settlement in Zamboanga. In 1637, Governor General Sebastián Hurtado de Corcuera personally led an expedition against Kudarat, and temporarily triumphed over his forces at Lamitan and Iliana Bay. On 1 January 1638, Hurtado de Corcuera, with 80 vessels and 2000 soldiers, defeated the Moro Tausūg and occupied Jolo, mainly staying inside captured Cottas. A peace treaty was forged, but Spanish sovereignty over Sulu still had not been firmly established; the Tausūg abrogated the treaty in 1646 soon after the Spaniards occupiers departed. It wasn't until 1705 that the sultanate renounced to Spain any sovereignty it had previously asserted over south Palawan, and in 1762 it similarly relinquished its claims over Basilan. During the last quarter of the 19th century the sultanate formally recognized Spanish sovereignty, but these areas remained partially controlled by the Spanish, with their sovereignty limited to military stations, garrisons, and pockets of civilian settlements in Zamboanga and Cotabato (the latter under the sultanate of Maguindanao). Eventually, as a consequence of their defeat in the Spanish–American War, the Spanish had to abandon the region entirely. In 1737, Sultan Alimud Din I, advancing his own personal interests, entered into a "permanent" peace treaty with Governor General F. Valdes y Tamon; and in 1746, he befriended the Jesuits sent to Jolo by King Philip. The "permission" of Sultan Azimuddin-I (*the first heir-apparent) allowed Catholic Jesuits to enter Jolo, but his younger brother, Raja Muda Maharajah Adinda Datu Bantilan (*the second heir-apparent) argued against this, saying that he did not want the Catholic Jesuits to