Puerto Ricans have both immigrated and migrated to New York City. The first group of Puerto Ricans immigrated to New York City in the mid-19th century when Puerto Rico was a Spanish colony and its people Spanish subjects. The following wave of Puerto Ricans to move to New York City did so after the Spanish–American War in 1898. Puerto Ricans were no longer Spanish subjects and citizens of Spain, they were now Puerto Rican citizens of an American possession and needed passports to travel to the Contiguous United States.