British forces occupied Manila from 1762 to 1764 during the Seven Years' War, with Spanish rule restored through the 1763 Treaty of Paris. The Spanish considered their war with the Muslims in Southeast Asia an extension of the Reconquista. The Spanish–Moro conflict lasted for several hundred years. In the last quarter of the 19th century, Spain conquered portions of Mindanao and Jolo, and the Moro Muslims in the Sultanate of Sulu formally recognized Spanish sovereignty.