Question: Who was president when congress declared war on the country where Glumpers was filmed?

Knowledge 1: Glumpers
Glumpers is a CG animated television series by Motion Pictures, S.A.(Spain) co-produced with Televisió de Catalunya. The series currently consists of one season, which has 104 episodes of 2 minutes each. [SEP] Knowledge 2: Spanish–American War
President McKinley signed a joint Congressional resolution demanding Spanish withdrawal and authorizing the President to use military force to help Cuba gain independence on April 20, 1898.. In response, Spain severed diplomatic relations with the United States on April 21. On the same day, the U.S. Navy began a blockade of Cuba. On April 23, Spain stated that it would declare war if the US forces invaded its territory. On April 25, the U.S. Congress declared that a state of war between the U.S. and Spain had de facto existed since April 21, the day the blockade of Cuba had begun. The United States sent an ultimatum to Spain demanding that it surrender control of Cuba, but due to Spain not replying soon enough, the United States had assumed Spain had ignored the ultimatum and continued to occupy Cuba.
Knowledge 1: Glumpers
Glumpers is a CG animated television series by Motion Pictures, S.A.(Spain) co-produced with Televisió de Catalunya. The series currently consists of one season, which has 104 episodes of 2 minutes each. [SEP] Knowledge 2: 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.
Knowledge 1: 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. [SEP] Knowledge 2: Separation of powers under the United States Constitution
The president is the civilian Commander in Chief of the Army and Navy of the United States. He has the authority to command them to take appropriate military action in the event of a sudden crisis. However, only the Congress is explicitly granted the power to declare war per se, as well as to raise, fund and maintain the armed forces. Congress also has the duty and authority to prescribe the laws and regulations under which the armed forces operate, such as the Uniform Code of Military Justice, and requires that all Generals and Admirals appointed by the president be confirmed by a majority vote of the Senate before they can assume their office.

Answer: President McKinley