Teacher:Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.
Teacher: Now, understand the problem? Solve this instance: When did the Spanish and Portuguese colonies primarily gained no lose their independence?
Student:
When did the Spanish and Portuguese colonies lose their independance.