Complex sentence: Contrary to what is believed, they did not swear to overthrow the Government of the United States, they did however swear to fight for Puerto Rico's independence from colonial rule by whatever means necessary.
Split into simpler sentences: Contrary to what is believed, they did not swear to overthrow the Government of the United States. They did, however, swear to fight for Puerto Rico's independence from colonial rule by whatever means necessary.