East Indies theatre of the French Revolutionary Wars situation in Europe had however shifted once more during 1796 when France and Spain signed the Treaty of San Ildefonso, transferring Spain from an ally of Britain to an ally of France. British attention in the East Indies therefore shifted from the French island territories to the Spanish Philippines, where the defence squadron had been badly damaged in a hurricane in April 1797 and was in dock for extensive repairs. British forces were once again in the ascendant, Rainier commanding five ships of the line, one fourth rate ship and six frigates. Extensive plans were developed by Rainier in conjunction
Spanish East Indies of Luzon remained outside Spanish control until the early 19th century, and the southernmost tip of Palawan, not until the late 1890s. The rest of Mindanao (Caesarea Karoli)—aside from outposts in Northern Mindanao, Zamboanga, Cotabato, and the islands of Basilan and Jolo, the rest was nominally under Spanish control, recognizing Spanish rule, but left to administer their own affairs, as in the cases of the Sulu, and the Maguindanao sultanates, as well as a number of other Lumad tribes not affiliated with either. Similarly, Palau and the vast majority of the Caroline Islands were not governed by Spanish missions until