Question: When did the country immigration led to become independent from Spain?

full_context: Document 1: Puerto Rico: In 1917, the U.S. Congress passed the Jones -- Shafroth Act, popularly called the Jones Act, which granted Puerto Ricans, born on or after, April 25, 1898, U.S. citizenship. Opponents, which included all of the Puerto Rican House of Delegates, who voted unanimously against it, said that the U.S. imposed citizenship in order to draft Puerto Rican men into the army as American entry into World War I became likely.
Document 2: 51st state: Puerto Rico is designated in its constitution as the "Commonwealth of Puerto Rico". The Constitution of Puerto Rico which became effective in 1952 adopted the name of Estado Libre Asociado (literally translated as "Free Associated State"), officially translated into English as Commonwealth, for its body politic. The island is under the jurisdiction of the Territorial Clause of the U.S. Constitution, which has led to doubts about the finality of the Commonwealth status for Puerto Rico. In addition, all people born in Puerto Rico become citizens of the U.S. at birth (under provisions of the Jones–Shafroth Act in 1917), but citizens residing in Puerto Rico cannot vote for president nor for full members of either house of Congress. Statehood would grant island residents full voting rights at the Federal level. The Puerto Rico Democracy Act (H.R. 2499) was approved on April 29, 2010, by the United States House of Representatives 223–169, but was not approved by the Senate before the end of the 111th Congress. It would have provided for a federally sanctioned self-determination process for the people of Puerto Rico. This act would provide for referendums to be held in Puerto Rico to determine the island's ultimate political status. It had also been introduced in 2007.
Document 3: Independence movement in Puerto Rico: After four hundred years of colonial rule by the Spanish Empire, Puerto Rico finally received its sovereignty in 1897 through a Carta de Autonomía (Charter of Autonomy). It was signed by Spanish Prime Minister Práxedes Mateo Sagasta and ratified by the Spanish Cortes.
Document 4: Puerto Rico: In 1950, the U.S. Congress granted Puerto Ricans the right to organize a constitutional convention via a referendum that gave them the option of voting their preference, ``yes ''or`` no'', on a proposed U.S. law that would organize Puerto Rico as a ``commonwealth ''that would continue United States sovereignty over Puerto Rico and its people. Puerto Rico's electorate expressed its support for this measure in 1951 with a second referendum to ratify the constitution. The Constitution of Puerto Rico was formally adopted on July 3, 1952. The Constitutional Convention specified the name by which the body politic would be known.
Document 5: Puerto Rico: Originally populated by the indigenous Taíno people, the island was claimed in 1493 by Christopher Columbus for Spain during his second voyage. Later it endured invasion attempts from the French, Dutch, and British. Four centuries of Spanish colonial government influenced the island's cultural landscapes with waves of African slaves, Canarian, and Andalusian settlers. In the Spanish Empire, Puerto Rico played a secondary, but strategic role when compared to wealthier colonies like Peru and the mainland parts of New Spain. Spain's distant administrative control continued up to the end of the 19th century, helping to produce a distinctive creole Hispanic culture and language that combined elements from the Native Americans, Africans, and Iberians. In 1898, following the Spanish -- American War, the United States acquired Puerto Rico under the terms of the Treaty of Paris. The treaty took effect on April 11, 1899.
Document 6: 51st state: Puerto Rico has been under U.S. sovereignty for over a century when it was ceded to the U.S. by Spain following the end of the Spanish–American War, and Puerto Ricans have been U.S. citizens since 1917. The island's ultimate status has not been determined as of 2012[update], its residents do not have voting representation in their federal government. Puerto Rico has limited representation in the U.S. Congress in the form of a Resident Commissioner, a delegate with limited no voting rights. Like the states, Puerto Rico has self-rule, a republican form of government organized pursuant to a constitution adopted by its people, and a bill of rights.
Document 7: Puerto Rico: Originally populated by the indigenous Taíno people, the island was claimed in 1493 by Christopher Columbus for the Crown of Castile during his second voyage. Later it endured invasion attempts from the French, Dutch, and British. Four centuries of Spanish colonial government transformed the island's ethnic, cultural and physical landscapes primarily with waves of African slaves, Canarian, and Andalusian settlers. In the Spanish imperial imagination, Puerto Rico played a secondary, but strategic role when compared to wealthier colonies like Peru and the mainland parts of New Spain. Spain's distant administrative control continued up to the end of the 19th century, helping to produce a distinctive creole Hispanic culture and language that combined elements from the Native Americans, Africans, and Iberians. In 1898, following the Spanish -- American War, the United States acquired Puerto Rico under the terms of the Treaty of Paris.
Document 8: Puerto Rico: Originally populated by the indigenous Taíno people, the island was claimed in 1493 by Christopher Columbus for the Crown of Castile during his second voyage. Later it endured invasion attempts from the French, Dutch, and British. Four centuries of Spanish colonial government transformed the island's ethnic, cultural and physical landscapes primarily with waves of African slaves, and Canarian, and Andalusian settlers. In the Spanish imperial imagination, Puerto Rico played a secondary, but strategic role when compared to wealthier colonies like Peru and the mainland parts of New Spain. Spain's distant administrative control continued up to the end of the 19th century, helping to produce a distinctive creole Hispanic culture and language that combined elements from the Native Americans, Africans, and Iberians. In 1898, following the Spanish -- American War, the United States acquired Puerto Rico along with other Spanish colonies under the terms of the Treaty of Paris.
Document 9: History of Puerto Rico: After the ratification of the Treaty of Paris of 1898, Puerto Rico came under the military control of the United States of America. This brought about significant changes: the name of the island was changed to Porto Rico (it was changed back to Puerto Rico in 1932) and the currency was changed from the Puerto Rican peso to the United States dollar. Freedom of assembly, speech, press, and religion were decreed and an eight-hour day for government employees was established. A public school system was begun and the U.S. Postal service was extended to the island. The highway system was enlarged, and bridges over the more important rivers were constructed. The government lottery was abolished, cockfighting was forbidden, and a centralized public health service established. Health conditions were poor at the time, with high rates of infant mortality and numerous endemic diseases.
Document 10: History of Puerto Rico: Located in the northeastern Caribbean, Puerto Rico formed a key part of the Spanish Empire from the early years of the exploration, conquest and colonization of the New World. The island was a major military post during many wars between Spain and other European powers for control of the region in the 16th, 17th and 18th centuries. The smallest of the Greater Antilles, Puerto Rico was a stepping - stone in the passage from Europe to Cuba, Mexico, Central America, and the northern territories of South America. Throughout most of the 19th century until the conclusion of the Spanish -- American War, Puerto Rico and Cuba were the last two Spanish colonies in the New World; they served as Spain's final outposts in a strategy to regain control of the American continents. Realizing that it was in danger of losing its two remaining Caribbean territories, the Spanish Crown revived the Royal Decree of Graces of 1815. The decree was printed in Spanish, English and French in order to attract Europeans, with the hope that the independence movements would lose their popularity and strength with the arrival of new settlers. Free land was offered to those who wanted to populate the islands on the condition that they swear their loyalty to the Spanish Crown and allegiance to the Roman Catholic Church.
Document 11: Puerto Rico: Originally populated by the indigenous Taíno people, the island was claimed in 1493 by Christopher Columbus for Spain during his second voyage. Later it endured invasion attempts from the French, Dutch, and British. Four centuries of Spanish colonial government influenced the island's cultural landscapes with waves of African slaves, Canarian, and Andalusian settlers. In the Spanish Empire, Puerto Rico played a secondary, but strategic role when compared to wealthier colonies like Peru and the mainland parts of New Spain. Spain's distant administrative control continued up to the end of the 19th century, helping to produce a distinctive creole Hispanic culture and language that combined elements from the Native Americans, Africans, and Iberians. In 1898, following the Spanish -- American War, the United States acquired Puerto Rico under the terms of the Treaty of Paris.
Document 12: History of Puerto Rico: On August 10, 1815, the Royal Decree of Grace was issued, allowing foreigners to enter Puerto Rico (including French refugees from Hispaniola), and opening the port to trade with nations other than Spain. This was the beginning of agriculture-based economic growth, with sugar, tobacco, and coffee being the main products. The Decree also gave free land to anyone who swore their loyalty to the Spanish Crown and their allegiance to the Roman Catholic Church. Thousands of families from all regions of Spain (particularly Asturias, Catalonia, Majorca and Galicia), Germany, Corsica, Ireland, France, Portugal, the Canary Islands and other locations, escaping from harsh economic times in Europe and lured by the offer of free land, soon immigrated to Puerto Rico. However, these small gains in autonomy and rights were short lived. After the fall of Napoleon, absolute power returned to Spain, which revoked the Cádiz Constitution and reinstated Puerto Rico to its former condition as a colony, subject to the unrestricted power of the Spanish monarch.
Document 13: Currencies of Puerto Rico: The situado was discontinued during the 19th century, creating an economic crisis, as a result of Mexico gaining its independence from Spain. Salvador Meléndez Bruna, the colonial governor in office, ordered the issue of provincial banknotes, creating the Puerto Rican peso. However, printing of these banknotes ceased after 1815. During the following decades, foreign coins became the widespread currency. In the 1860s and 1870s, banknotes reemerged. On February 1, 1890, the Banco Español de Puerto Rico was inaugurated and began issuing banknotes. The bank designed four series and placed three in circulation under Spanish rule. In 1895, a Royal Decree ordered the production of provincial peso coins.
Document 14: Puerto Rico: Puerto Ricans are by law citizens of the United States and may move freely between the island and the mainland. As it is not a state, Puerto Rico does not have a vote in the United States Congress, which governs the territory with full jurisdiction under the Puerto Rico Federal Relations Act of 1950. However, Puerto Rico does have one non-voting member of the House called a Resident Commissioner. As residents of a U.S. territory, American citizens in Puerto Rico are disenfranchised at the national level and do not vote for president and vice president of the United States, and do not pay federal income tax on Puerto Rican income. Like other territories and the District of Columbia, Puerto Rico does not have U.S. senators. Congress approved a local constitution in 1952, allowing U.S. citizens on the territory to elect a governor. A 2012 referendum showed a majority (54% of those who voted) disagreed with ``the present form of territorial status ''. A second question asking about a new model, had full statehood the preferred option among those who voted for a change of status, although a significant number of people did not answer the second question of the referendum. A fifth referendum was held on June 11, 2017, with`` Statehood'' and ``Independence / Free Association ''initially as the only available choices. At the recommendation of the Department of Justice, an option for the`` current territorial status'' was added. The referendum showed an overwhelming support for statehood, with 97.18% voting for it, although the voter turnout had a historically low figure of only 22.99% of the registered voters casting their ballots.
Document 15: History of Puerto Rico: In 1898, during the Spanish -- American War, Puerto Rico was invaded and subsequently became a possession of the United States. The first years of the 20th century were marked by the struggle to obtain greater democratic rights from the United States. The Foraker Act of 1900, which established a civil government, and the Jones Act of 1917, which made Puerto Ricans U.S. citizens, paved the way for the drafting of Puerto Rico's Constitution and its approval by Congress and Puerto Rican voters in 1952. However, the political status of Puerto Rico, a Commonwealth controlled by the United States, remains an anomaly.
ground_truth: 1898
sub_queries: where did the immigration lead to? Answer: Puerto Rico
when did Puerto Rico became independent from spain Answer: 1898