Question: After King Ferdinand died, who remained under Spanish rule?
Sentence: After the death of the king Ferdinand VII, in 1833, only Cuba and Puerto Rico remained under Spanish rule, until the Spanish–American War in 1898.
Answer in sentence: yes