Puerto Ricans have participated in many of the military conflicts in which the United States has been involved. For example, they participated in the American Revolution, when volunteers from Puerto Rico, Cuba, and Mexico fought the British in 1779 under the command of General Bernardo de Gálvez (1746–1786), and have continued to participate up to the present-day conflicts in Iraq and Afghanistan.
PR became a US Territory after the 1898 Treaty of Paris which ended the Spanish-American War. The US appointed a military governor and soon the United States Army established itself in San Juan. The Army Appropriation Bill created by an act of Congress on March 2, 1898 authorized the creation of the first body of native troops called the Puerto Rico Provisional Regiment of Infantry in June 30, 1901.
Lieutenant Teofilo Marxuach, was stationed at El Morro Castle at San Juan Bay on March 21, 1915 when The Odenwald an armed German supply ship tried to force its way out of the San Juan Bay and deliver supplies to the German submarines waiting in the Atlantic Ocean. Marxuach gave the order to open fire and Sergeant Encarnación Correa manned a machine gun and fired warning shots with little effect then Marxuach fired a warning shot from