The reforms caused many religious tensions as well as social tensions. One of the most major modifications in the Bourbon Reforms was the expulsion of the Jesuits. The Society of Jesus, the members being the Jesuits, had become one of the most powerful organizations in the colonies at the time and had a distinct amount of power until the Bourbon Reforms. First, under the 1750 Treaty of Madrid, which orchestrated a land exchange between Spain and Portugal in South America, Spain's intention to give Portugal territory containing a total of seven Jesuit missions sparked intense Jesuit resistance, and war between Spain and Portugal broke out in 1762. In 1767, Charles III of Spain ordered the expulsion of 2,200 Jesuits to be removed from the vice royalties. Of the 2,200 that were exiled, 678 were from Mexico (New Spain) with 75% of the Jesuits from Mexico being Mexican-born.