Complex sentence: This dynastic union meant that Portugal would lose independence to Castile, and many were fiercely opposed to this possibility, but they were not united under a common pretender to the crown.
Split into simpler sentences: This dynastic union meant that Portugal would lose independence to Castile and there were plenty of personalities fiercely against this possibility. But they were not united under a common pretender to the crown.