Question: In what war did America fight with the country where Emperatriz was filmed?

full_context: Document 1: Meteor Garden: Philippines: The series was first shown in the Philippines on ABS - CBN in May 2003. Like the Indonesian broadcast, the series became a huge hit becoming one of the highest rated TV series in the country. Due to the success of the series, F4 and Barbie was invited to the Philippines to stage a concert in the country and to do several product endorsements for major products such as Pepsi and Pantene. Walt Disney also chose F4 to promote the film Lilo & Stitch in the country by airing the music video of the cover ``Ca n't Help Falling In Love ''which was originally intended to be used only in China. It was also broadcast on GMA in July 2007 with a different dubbing and to a moderate success. On March 31, 2014, Meteor Garden was shown again on ABS - CBN. The return of the series on ABS - CBN generated a huge buzz on the internet becoming a worldwide trending topic on Twitter and one of the most searched keywords in Google Philippines. The series has also been shown on other ABS - CBN owned channels such as on Jeepney TV.
Document 2: List of most-followed Twitter accounts: This list contains the top 50 accounts with the largest number of followers on the social media platform Twitter. As of 2 August 2018, the most followed person is American singer Katy Perry, with close to 107 million followers. Her account was the first to exceed 100 million followers, in June 2017.
Document 3: American Idol: The "Fan Save" was introduced in the fourteenth season. During the finals, viewers are given a five-minute window to vote for the contestants in danger of elimination by using their Twitter account to decide which contestant will move on to the next show, starting with the Top 8.
Document 4: The View (talk show): In January 2015, it was reported that the show's viewership was down nine percent among its target demographic of women 25 -- 54. In August, it was reported that season 20 of the series averaged 2.816 million total viewers per episode, marking its most watched season in three years while also becoming the only broadcast daytime show to grow its overall audience from the previous season.
Document 5: Chihuahua (state): On February 8, 1847, Doniphan continued his march with 924 men mostly from Missouri; he accompanied a train of 315 wagons of a large commercial caravan heading to the state capital. Meanwhile, the Mexican forces in the state had time to prepare a defense against the Americans. About 20 miles (32 km) north of the capital where two mountain ranges join from east to west is the only pass into the capital; known as Sacramento Pass, this point is now part of present-day Chihuahua City. The Battle of Sacramento was the most important battle fought in the state of Chihuahua because it was the sole defense for the state capital. The battle ended quickly because of some devastating defensive errors from the Mexican forces and the ingenious strategic moves by the American forces. After their loss at the Battle of Sacramento, the remaining Mexican soldiers retreated south, leaving the city to American occupation. Almost 300 Mexicans were killed in the battle, as well as almost 300 wounded. The Americans also confiscated large amounts of Mexican supplies and took 400 Mexican soldiers prisoners of war. American forces maintained an occupation of the state capital for the rest of the Mexican–American War.
Document 6: Abolition of monarchy: In 1858 the Mughal Empire came to an end after losing a war against Britain, and its Emperor, Bahadur Shah II, lost his throne. Between 1859 and 1861, four monarchies in Southern Europe ceased to exist: Parma, Modena, Tuscany and the Two Sicilies, when they all became part of the new Kingdom of Italy. The Second Mexican Empire collapsed in 1867, and its Emperor, Maximilian I of Mexico, was executed. The Second French Empire came to an end in 1870 after it had lost the war against Prussia, causing Emperor Napoleon III to lose his throne. He was the last monarch of France.
Document 7: Emperatriz (Mexican TV series): Shortly after the grand final episode ended, "Emperatriz" quickly became a trending topic (Mexico) in Twitter. In 30 minutes time, it reached the fourth spot, from the eighth.
Document 8: Chihuahua (state): The United States Congress declared war on Mexico on May 13, 1846 after only having a few hours to debate. Although President José Mariano Paredes's issuance of a manifesto on May 23 is sometimes considered the declaration of war, Mexico officially declared war by Congress on July 7. After the American invasion of New Mexico, Chihuahua sent 12,000 men led by Colonel Vidal to the border to stop the American military advance into the state. The Mexican forces being impatient to confront the American forces passed beyond El Paso del Norte about 20 miles (32 km) north along the Rio Grande. The first battle that Chihuahua fought was the battle of El Bracito; the Mexican forces consisting of 500 cavalry and 70 infantry confronted a force of 1,100–1,200 Americans on December 25, 1846. The battle ended badly by the Mexican forces that were then forced to retreat back into the state of Chihuahua. By December 27, 1846, the American forces occupied El Paso Del Norte. General Doniphan maintained camp in El Paso Del Norte awaiting supplies and artillery which he received in February 1847.
Document 9: Totally Jodie Marsh: The auditions themselves were not successful, as they drew fewer people than expected. From the beginning of the series, ratings dropped rapidly, and as a result MTV One screened a double bill for episodes 4 and 5. Details of her marriage and venue were revealed before the show was halfway complete.
Document 10: Mexico City: During this battle, on September 13, the 4th Division, under John A. Quitman, spearheaded the attack against Chapultepec and carried the castle. Future Confederate generals George E. Pickett and James Longstreet participated in the attack. Serving in the Mexican defense were the cadets later immortalized as Los Niños Héroes (the "Boy Heroes"). The Mexican forces fell back from Chapultepec and retreated within the city. Attacks on the Belén and San Cosme Gates came afterwards. The treaty of Guadalupe Hidalgo was signed in what is now the far north of the city.
Document 11: Chihuahua (state): President Juárez once again based his government in the state of Chihuahua and it served as the center for the resistance against the French invasion throughout Mexico. On March 25, 1866, a battle ensued in the Plaza de Armas in the center of Chihuahua City between the French imperial forces that were guarding the plaza and the Republican forces led by General Terrazas. Being completely caught off guard, the French imperial forces sought refuge by bunkering themselves in the Cathedral of the Holy Cross, Our Lady of Regla, and St Fancis of Assisi and made it almost impossible to penetrate their defenses. General Terrazas then decided to fire a heavy artillery barrage with 8 kg cannonballs. The first cannon fired hit a bell in the tower of the church, instantly breaking it in half; soon after, 200 men of the imperial army forces surrendered. The republican forces had recovered control over the state capital. The bell in the church was declared a historical monument and can be seen today in the Cathedral. By April 1866, the state government had established a vital trading route from Chihuahua City to San Antonio, Texas; the government began to replenish their supplies and reinforce their fight against the Imperial forces.
Document 12: Mexico City: The Battle for Mexico City was the series of engagements from September 8 to September 15, 1847, in the general vicinity of Mexico City during the Mexican–American War. Included are major actions at the battles of Molino del Rey and Chapultepec, culminating with the fall of Mexico City. The U.S. Army under Winfield Scott scored a major success that ended the war. The American invasion into the Federal District was first resisted during the Battle of Churubusco on August 8 where the Saint Patrick's Battalion, which was composed primarily of Catholic Irish and German immigrants, but also Canadians, English, French, Italians, Poles, Scots, Spaniards, Swiss, and Mexican people, fought for the Mexican cause repelling the American attacks. After defeating the Saint Patrick's Battalion, the Mexican–American War came to a close after the United States deployed combat units deep into Mexico resulting in the capture of Mexico City and Veracruz by the U.S. Army's 1st, 2nd, 3rd and 4th Divisions. The invasion culminated with the storming of Chapultepec Castle in the city itself.
Document 13: Chihuahua (state): The Treaty of Guadalupe Hidalgo, signed on February 2, 1848, by American diplomat Nicholas Trist and Mexican plenipotentiary representatives Luis G. Cuevas, Bernardo Couto, and Miguel Atristain, ended the war, gave the U.S. undisputed control of Texas, and established the U.S.–Mexican border of the Rio Grande. As news of peace negotiations reached the state, new call to arms began to flare among the people of the state. But as the Mexican officials in Chihuahua heard that General Price was heading back to Mexico with a large force comprising several companies of infantry and three companies of cavalry and one division of light artillery from Santa Fe on February 8, 1848, Ángel Trías sent a message to Sacramento Pass to ask for succession of the area as they understood the war had concluded. General Price, misunderstanding this as a deception by the Mexican forces, continued to advance towards the state capital. On March 16, 1848 Price began negotiations with Ángel Trías, but the Mexican leader responded with an ultimatum to General Price. The American forces engaged with the Mexican forces near Santa Cruz de los Rosales on March 16, 1848. The Battle of Santa Cruz de los Rosales was the last battle of the Mexican–American War and it occurred after the peace treaty was signed. The American forces maintained control over the state capital for three months after the confirmation of the peace treaty. The American presence served to delay the possible succession of the state which had been discussed at the end of 1847, and the state remained under United States occupation until May 22, 1848.
Document 14: León Krauze: For five years, Krauze hosted “Segunda Emisión”, Mexico’s highest rated afternoon radio newsmagazine. Upon moving to television, Krauze quickly became a success as well, anchoring “Hora 21”, the main newscast for Foro TV, Televisa’s 24/7 news network. Krauze is currently the main anchor at Univision’s Los Angeles station, KMEX. He’s also a regular at "Fusion", where he hosted the show "Open Source".
Document 15: San Diego: In 1846, the United States went to war against Mexico and sent a naval and land expedition to conquer Alta California. At first they had an easy time of it capturing the major ports including San Diego, but the Californios in southern Alta California struck back. Following the successful revolt in Los Angeles, the American garrison at San Diego was driven out without firing a shot in early October 1846. Mexican partisans held San Diego for three weeks until October 24, 1846, when the Americans recaptured it. For the next several months the Americans were blockaded inside the pueblo. Skirmishes occurred daily and snipers shot into the town every night. The Californios drove cattle away from the pueblo hoping to starve the Americans and their Californio supporters out. On December 1 the Americans garrison learned that the dragoons of General Stephen W. Kearney were at Warner's Ranch. Commodore Robert F. Stockton sent a mounted force of fifty under Captain Archibald Gillespie to march north to meet him. Their joint command of 150 men, returning to San Diego, encountered about 93 Californios under Andrés Pico. In the ensuing Battle of San Pasqual, fought in the San Pasqual Valley which is now part of the city of San Diego, the Americans suffered their worst losses in the campaign. Subsequently a column led by Lieutenant Gray arrived from San Diego, rescuing Kearny's battered and blockaded command.
ground_truth: Mexican–American War
sub_queries: Which was the country for Emperatriz? Answer: Mexico
What war did America and Mexico fight in? Answer: Mexican–American War