paragraph_text: Peal de Becerro is a city located in the province of Jaén, Spain. According to the 2005 census (INE), the city has a population of 5470 inhabitants.

paragraph_text: The history of El Salvador begins with several Mesoamerican nations, especially the Cuzcatlecs, as well as the Lenca and Maya. In the early 16th century, the Spanish Empire conquered the territory, incorporating it into the Viceroyalty of New Spain ruled from Mexico City. In 1821, the country achieved independence from Spain as part of the First Mexican Empire, only to further secede as part of the Federal Republic of Central America in 1823. Upon the republic's dissolution in 1841, El Salvador became sovereign until forming a short - lived union with Honduras and Nicaragua called the Greater Republic of Central America, which lasted from 1895 to 1898.

paragraph_text: Mexico’s capital is both the oldest capital city in the Americas and one of two founded by Amerindians (Native Americans), the other being Quito. The city was originally built on an island of Lake Texcoco by the Aztecs in 1325 as Tenochtitlan, which was almost completely destroyed in the 1521 siege of Tenochtitlan, and subsequently redesigned and rebuilt in accordance with the Spanish urban standards. In 1524, the municipality of Mexico City was established, known as México Tenochtitlán, and as of 1585 it was officially known as Ciudad de México (Mexico City). Mexico City served as the political, administrative and financial center of a major part of the Spanish colonial empire. After independence from Spain was achieved, the Federal District was created in 1824.

paragraph_text: Francisco Javier de Lizana y Beaumont (1750 in Arnedo, La Rioja, Spain – March 6, 1815 in Mexico City) was bishop of Mexico and, from July 19, 1809 to May 8, 1810, viceroy of New Spain.

paragraph_text: 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.

paragraph_text: Don Carlos Bernardo Fitz-James Stuart y Silva, 4th Duke of Liria and Jérica, 4th Duke of Berwick (25 March 1752 – 7 September 1787) was a Spanish nobleman. Born in Liria, Spain, he was the son of James (Jacobo) Fitz-James Stuart, 3rd Duke of Berwick, and his wife, María Teresa de Silva y Álvarez de Toledo (a sister of Fernando, 12th Duke of Alba).

paragraph_text: The Mexican War of Independence (Spanish: Guerra de Independencia de México) was an armed conflict, and the culmination of a political and social process which ended the rule of Spain in 1821 in the territory of New Spain. The war had its antecedent in Napoleon's French invasion of Spain in 1808; it extended from the Grito de Dolores by Father Miguel Hidalgo y Costilla on September 16, 1810, to the entrance of the Army of the Three Guarantees led by Agustín de Iturbide to Mexico City on September 27, 1821. September 16 is celebrated as Mexican Independence Day.

paragraph_text: Bernardo de Balbuena (c. Valdepeñas (Spain) 1561 – San Juan, Puerto Rico, October 1627) was a Spanish poet. He was the first of a long series of Latin American poets who extolled the special beauties of the New World.

paragraph_text: Bernardo Álvarez Afonso (Breña Alta, island of La Palma, in the Province of Santa Cruz de Tenerife, July 29, 1949) is a Spanish Catholic bishop, since September 2005 twelfth bishop of the Roman Catholic Diocese of San Cristóbal de La Laguna (Tenerife) (Spanish: Diócesis Nivariense).

paragraph_text: Puebla de Don Fadrique is a municipality located in the province of Granada, Spain. According to the 2007 census (INE), the city has a population of 2565 inhabitants.

paragraph_text: Dehesas de Guadix is a municipality located in the province of Granada, Spain. According to the 2005 census (INE), the city has a population of 556 inhabitants.

paragraph_text: The Philippine Declaration of Independence (Filipino: Pagpapahayag ng Kasarinlan ng Pilipinas) was proclaimed on June 12, 1898 in Cavite II el Viejo (present - day Kawit, Cavite), Philippines. With the public reading of the Act of the Declaration of independence (Spanish: Acta de la proclamación de independencia del pueblo Filipino; Filipino: Paggawa ng Proklamasyon ng Kasarinlan ng sambayanang Pilipino), Filipino revolutionary forces under General Emilio Aguinaldo proclaimed the sovereignty and independence of the Philippine Islands from the colonial rule of Spain.

paragraph_text: Villamayor de Gállego is a municipality located in the province of Zaragoza, Aragon, Spain. According to the 2010 census (INE), the municipality has a population of 2,888 inhabitants. Villamayor de Gállego became independent from Zaragoza in 2006.

paragraph_text: The Hotel Galvez is a historic hotel located in Galveston, Texas, United States that opened in 1911. The building was named the Galvez, honoring Bernardo de Gálvez, 1st Viscount of Galveston, for whom the city was named. The building was added to the National Register of Historic Places on April 4, 1979.

paragraph_text: Nannina de' Medici (14 February 1448 – 14 May 1493), born Lucrezia de' Medici, was the second daughter of Piero di Cosimo de' Medici and Lucrezia Tornabuoni. She was thus the elder sister of Lorenzo de' Medici. She married Bernardo Rucellai. Her father's name was Piero, so she is sometimes known as Lucrezia di Piero de' Medici.

paragraph_text: Alpujarra de la Sierra is a municipality located in the province of Granada, Spain. According to the 2007 census (INE), the city has a population of 1168 inhabitants.

paragraph_text: The Spanish colonies won their independence in the first quarter of the 19th century, in the Spanish American wars of independence. Simón Bolívar (Greater Colombia, Peru, Bolivia), José de San Martín (United Provinces of the River Plate, Chile, and Peru), and Bernardo O'Higgins (Chile) led their independence struggle. Although Bolivar attempted to keep the Spanish - speaking parts of the continent politically unified, they rapidly became independent of one another.

paragraph_text: José Luis de Quintanar Soto y Ruiz (born December 22, 1772, San Juan del Río, Querétaro - November 16, 1837, Mexico City) was a Royalist military officer in colonial New Spain, and a politician after the 1821 independence of Mexico.

paragraph_text: Fuensanta de Martos is a city located in the province of Jaén, Spain. According to the 2006 census (INE), the city has a population of 3326 inhabitants.

paragraph_text: The Regional Assembly of Murcia (Spanish: "Asamblea Regional de Murcia") is the autonomous parliament of the Region of Murcia, one of the autonomous communities of Spain. The unicameral assembly, which contained 45 elected legislative seats, is located in the Murcian city of Cartagena, Spain.

Question: When did the country where Bernardo de Balbuena died become independent from Spain?
Answer: 1898