sentence1: Madrid's most important remaining possessions were the island colonies of Cuba and Puerto Rico, both of which were chafing under the yoke of colonial rule and the bitter system of slavery.
sentence2: There was a resistance brewing in Cuba and Puerto Rico against Spain.