paragraph_text: Charles Pomeroy Stone (September 30, 1824 – January 24, 1887) was a career United States Army officer, civil engineer, and surveyor. He fought with distinction in the Mexican–American War, earning two brevet promotions for his performance in the conflict. After resigning and surveying for the Mexican Government, he returned to the U.S. Army to fight in the American Civil War.

paragraph_text: General Manuel Pérez Treviño (June 5, 1890 – April 29, 1945) was a Mexican politician and was an important military and political leader during and after the Mexican Revolution.

paragraph_text: Rear Admiral James Edward Jouett (7 February 1826 – 30 September 1902), known as "Fighting Jim Jouett of the American Navy", was an officer in the United States Navy during the Mexican–American War and the American Civil War. His father was Matthew Harris Jouett, a notable painter, and his grandfather was Revolutionary War hero Jack Jouett.

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

paragraph_text: Jacob C. Higgins (1826–1893) was a native commander of Pennsylvania troops who participated in both major military conflicts of his time, the Mexican–American War and the American Civil War. Among his Civil War commands, he guided the 125th Pennsylvania Infantry regiment under heavy fire during the 'Bloodiest Day in American History' at the Battle of Antietam and likewise during the 'Second Bloodiest Day of the Civil War,' May 3, 1863, at the Battle of Chancellorsville. Following the muster out and return home of the 125th PA, the Gettysburg Campaign sent cavalry under Confederate General John D. Imboden to threaten vital railroad resources at Altoona and iron production facilities in the Juniata River watershed; in response, Emergency Militia was organized by Colonel Higgins and minimized this northwestern incursion.

paragraph_text: John Ancrum Winslow (19 November 1811 – 29 September 1873) was an officer in the United States Navy during the Mexican–American War and the American Civil War. He was in command of the steam sloop of war during her historic 1864 action off Cherbourg, France with the Confederate sea raider .

paragraph_text: Jefferson Davis was named provisional president on February 9, 1861, and assumed similar commander - in - chief responsibilities as would Lincoln; on November 6, 1861 Davis was elected President of the Confederate States of America under the Confederate Constitution. Alexander H. Stephens was appointed as Vice President of the Confederate States of America on February 18, 1861, and later assumed identical vice presidential responsibilities as Hannibal Hamlin did. Several men served the Confederacy as Secretary of War, including Leroy Pope Walker, Judah P. Benjamin, George W. Randolph, James Seddon, and John C. Breckinridge. Stephen Mallory was Confederate Secretary of the Navy throughout the conflict.

paragraph_text: William Hugh Young (January 1, 1838 – November 28, 1901) was a Confederate States Army brigadier general during the American Civil War (Civil War). He was a university student and received a military education before the Civil War. He was a lawyer and real estate operator in San Antonio, Texas after the Civil War. Young spent nine months at the end of the war as a prisoner of war.

paragraph_text: Samuel Preston Moore (September 16, 1813 – May 31, 1889) was an American military physician, who served in the medical corps of the United States Army during the Mexican–American War, and later as the Confederate Surgeon General throughout nearly all of the American Civil War.

paragraph_text: The Battle of Contreras, also known as the Battle of Padierna, took place on 19–20 August 1847, in the final encounters of the Mexican–American War. In the Battle of Churubusco, fighting continued the following day.

paragraph_text: The American Civil War caught both sides unprepared. The Confederacy hoped to win by getting Britain and France to intervene, or else by wearing down the North's willingness to fight. The U.S. sought a quick victory focused on capturing the Confederate capital at Richmond, Virginia. The Confederates under Robert E. Lee tenaciously defended their capital until the very end. The war spilled across the continent, and even to the high seas. Most of the material and personnel of the South were used up, while the North prospered.

paragraph_text: Felipe Berriozábal (born August 23, 1829 in Zacatecas, Zacatecas – died January 9, 1900 in Mexico City) was a Mexican politician, engineer and military leader. He participated in the Reform War () and in the fight against French Intervention in Mexico. He was a member of president Benito Juárez's cabinet, serving as Secretary of War and Secretary of Marine, Berriozábal also served during Porfirio Díaz's government. He was a commander of the Mexican Army and member of the Chamber of Deputies. His remains were buried at the Panteón de Dolores in Mexico City, in the Rotunda of Illustrious Persons on January 12, 1900; shortly after his death.

paragraph_text: John Calvin Fiser (May 4, 1838 – June 4, 14, or 15, 1876) was an American merchant and soldier. He served as an officer in the Confederate Army during the American Civil War, fighting in both the Eastern as well as the Western theaters. Fiser was seriously wounded five times in the conflict, losing an arm in 1863's Battle of Fort Sanders, and he was appointed a general officer late in the war; however, the appointment was never confirmed by the Confederate Senate. Afterward he returned to his business interests and was active in Confederate veterans organizations.

paragraph_text: The Confederate States Army (C.S.A.) was the military land force of the Confederate States of America (Confederacy) during the American Civil War (1861 - 1865). On February 28, 1861, the Provisional Confederate Congress established a provisional volunteer army and gave control over military operations and authority for mustering state forces and volunteers to the newly chosen Confederate president, Jefferson Davis (1808 - 1889). Davis was a graduate of the U.S. Military Academy on the Hudson River at West Point, New York, and colonel of a volunteer regiment during the Mexican -- American War (1846 - 1848). He had also been a United States Senator from Mississippi and U.S. Secretary of War in the administration of 14th President Franklin Pierce (1853 - 1857). On March 1, 1861, Davis assumed control of the military situation at Charleston, South Carolina on behalf of the Confederate States government, where South Carolina state militia threatened to seize Fort Sumter, an island fortification in Charleston harbor from the small U.S. Army garrison. By March 1861, the Provisional Confederate Congress expanded the provisional forces and established a more permanent Confederate States Army.

paragraph_text: Rubén Jaramillo Méndez (1900 – May 23, 1962) was a Mexican military and political leader of "campesino" origin who participated in the Mexican Revolution. After the Revolution, he continued to fight for the land reform promised under the Mexican Constitution.

paragraph_text: Starting in 1910, the army began acquiring fixed-wing aircraft. In 1910, Mexico was having a civil war, peasant rebels fighting government soldiers. The army was deployed to American towns near the border to ensure safety to lives and property. In 1916, Pancho Villa, a major rebel leader, attacked Columbus, New Mexico, prompting a U.S. intervention in Mexico until 7 February 1917. They fought the rebels and the Mexican federal troops until 1918. The United States joined World War I in 1917 on the side of Britain, France, Russia, Italy and other allies. U.S. troops were sent to the Western Front and were involved in the last offensives that ended the war. With the armistice in November 1918, the army once again decreased its forces.

paragraph_text: The Confederate States Army (C.S.A.) was the military ground force of the Confederate States of America (Confederacy) during the American Civil War (1861 - 1865). On February 28, 1861, the Provisional Confederate Congress established a provisional volunteer army and gave control over military operations and authority for mustering state forces and volunteers to the newly chosen Confederate president, Jefferson Davis (1808 - 1889), a graduate of the U.S. Military Academy on the Hudson River at West Point, New York, and colonel of a volunteer regiment during the Mexican -- American War (1846 - 1848), later a United States Senator from Mississippi and U.S. Secretary of War in the administration of 14th President Franklin Pierce (1853 - 1857). By March 1861, the Provisional Confederate Congress expanded the provisional forces and established a more permanent Confederate States Army.

paragraph_text: Francis "Frank" Crawford Armstrong (November 22, 1835 – September 8, 1909) was a United States Army cavalry officer and later a brigadier general in the Confederate States Army during the American Civil War. He is also known for being the only Confederate general to fight on both sides during the Civil War.

paragraph_text: Davis was born in Fairview, Kentucky, to a moderately prosperous farmer, the youngest of ten children. He grew up in Wilkinson County, Mississippi, and also lived in Louisiana. His eldest brother Joseph Emory Davis secured the younger Davis's appointment to the United States Military Academy. After graduating, Jefferson Davis served six years as a lieutenant in the United States Army. He fought in the Mexican–American War (1846–1848), as the colonel of a volunteer regiment. Before the American Civil War, he operated a large cotton plantation in Mississippi, which his brother Joseph gave him, and owned as many as 113 slaves. Although Davis argued against secession in 1858, he believed that states had an unquestionable right to leave the Union.

paragraph_text: Santos Benavides (November 1, 1823 – November 9, 1891) was a Confederate colonel during the American Civil War. Benavides was the highest-ranking Tejano soldier in the Confederate military.

Question: When did the famous leader of the Confederate Military end his fight in the Mexican-American war?
Answer: 1848