Complex sentence: The villagers did not like this system and so they protested against the Portuguese by throwing stones at the flags.
Split into simpler sentences: The villagers did not like this system. So they protested against the Portuguese by throwing stones at the flags.