Complex sentence: Puerto Rico was part of the Spanish Empire for four centuries, during which the people of Puerto Rico defended themselves against invasions from the British, French, and Dutch.
Split into simpler sentences: Puerto Rico was part of the Spanish Empire for four centuries. During this era, the people of Puerto Rico defended themselves against invasions from the British, French, and Dutch.