Question: Timothy Upham rescued a brigadier general of what military branch ?

Context paragraphs:
Brigadier general (United States): In the United States Armed Forces, brigadier general (BG, Brig Gen, or BGen) is a one-star general officer with the pay grade of O-7 in the U.S. Army, U.S. Marine Corps, and U.S. Air Force.  Brigadier general ranks above a colonel and below major general.  The rank of brigadier general is equivalent to the rank of rear admiral (lower half) in the other uniformed services.

Cyber force: A cyber force is a military branch devoted to cyberwarfare, cybersecurity and counter-cyberwarfare.  An example of a cyber force is the Norwegian Cyber Defence Force.  A Cyber force can be part of a military branch or a combined command.

Brigadier general: Brigadier general (Brig. Gen.) is a senior rank in the armed forces.  It is the lowest ranking general officer in some countries, usually sitting between the ranks of colonel and major general.  When appointed to a field command, a brigadier general is typically in command of a brigade consisting of around 4,000 troops (four battalions).  In some countries a brigadier general is informally designated as a one-star general (OF-6).

Daniel Phillips Upham: Daniel Phillips Upham (more commonly known as D.P. Upham; December 30, 1832 – November 18, 1882) was an American politician, businessman, plantation owner, and Arkansas State Militia commander following the U.S. Civil War.  He is best known for his effective and brutal acts as the leader of a successful militia campaign against the Ku Klux Klan.  These acts began after the Klan attempted to assassinate him on October 2, 1868.  Later that year, Upham was designated a brigadier general and commanded a force that eventually numbered over 1,000 men.

Timothy Upham: Timothy Upham (September 9, 1783 – November 2, 1855) was an American soldier in the War of 1812.  At the Siege of Fort Erie while he was in command of his regiment, he did gallant service with his regiment, in going to the rescue, by special order of Gen. Jacob Brown, of General Miller.

Horace Randal: Horace Randal (January 4, 1833 – May 2, 1864) was a Confederate States Army colonel during the American Civil War (Civil War).  Randal was mortally wounded while commanding a brigade at the Battle of Jenkins' Ferry, Arkansas on April 30, 1864, dying two days later.  Confederate President Jefferson Davis did not act upon a request made by General E. Kirby Smith on November 8, 1863 to promote Randal to brigadier general.  After Randal's performance at the Battle of Mansfield, General Smith, as the Confederate commander of the Trans-Mississippi Department, assigned Randal to duty as a brigadier general on April 13, 1864.  Randal was not officially promoted.  Jefferson Davis subsequently revoked Smith's appointment of Randal as a brigadier general.

Wayne W. Lambert: Wayne W. Lambert (born 1936) was an Air force Brigadier General (United States).  He attended the United States Military Academy at West Point, New York, after already having served a year in the US Army.  Lambert graduated from the Academy in 1959 and was commissioned a 2nd Lieutenant in the USAF that same year.  He trained as a bomber pilot, receiving his Aviator badge in 1960.  He has logged over 5,800 flying hours with the US Air Force.  A seasoned combat veteran, Lambert flew over 225 combat missions in South East Asia as a B-52 crew member.  He was awarded the Distinguished Flying Cross (United States) and received 10 awards of the Air Medal for his service during the Vietnamese War.  After serving in a succession of lesser command positions, Lambert was promoted to the rank of Brigadier General in 1983, assuming command of the former Strategic Air Command’s 7th Air Division, headquartered then at Ramstein Air Base in West Germany, and overseeing SAC operations throughout the European theater.  The Brigadier General retired from the US Air Force in 1989.  Lambert also holds an MBA from Chapman College (’76).  In retirement, Lambert publicly supported U.S. presidential candidate Mitt Romney and U.S. vice presidential candidate Paul Ryan in the 2012 general election.

Aung Gyi: Brigadier General Aung Gyi (Burmese: အောင်ကြီး ] ; 16 February 1919 – 25 October 2012) was a Burmese politician and a member of General Ne Win's 4th Burma Rifles rising to Brigadier General.  He was born to a Burmese Chinese family in Paungde, British Burma in 1919.  He played a role in the caretaker government of 1958-60 led by Ne Win.  Aung Gyi was number two in the Union Revolutionary Council set up after the 1962 coup, serving as vice-chief of staff and Minister of Trade and Industry until he was forced to resign on 8 February 1963 because of disagreements over economic policy with Ba Nyein and Tin Pe.  He was once known as Ne Win's heir apparent.  In his memoirs, "Saturday's Son", published in 1974, U Nu, then Prime Minister of Myanmar, claimed that his handover of power to the caretaker government was not voluntary but that a group of Army Officers led by Brigadier Aung Gyi and Brigadier Maung Maung threatened him with a "straight military coup" should he refuse to handover power to Ne Win.  The suggestion that this coup was mainly led by Brigadier Aung Gyi and Maung Maung was supported Col Hla Maw, former commanding officer of 11th Brigade.

Robert Johnson Henderson: Robert Johnson Henderson (November 12, 1822 – February 3, 1891) was a Confederate States Army colonel during the American Civil War (Civil War).  His obituary stated that he was made a brigadier general by General Joseph E. Johnston, after Johnston witnessed Henderson making a desperate charge at the Battle of Bentonville, North Carolina, on March 10, 1865.  At the suggestion of his divisional commanders, Henderson signed his parole as a brigadier general.  Later, Henderson stated in his pardon application that he had been recommended for promotion to brigadier general but had never received a commission.  Henderson commanded a brigade for several weeks at the end of the war but never was officially appointed by Confederate President Jefferson Davis and confirmed by the Confederate States Senate to brigadier general rank.

James Miller (general): James Miller (April 25, 1776 – July 7, 1851) was the first Governor of Arkansas Territory and a brigadier general in the United States Army during the War of 1812.  It was during his term as governor, and partly due to his influence, that the territory's capital was moved from Arkansas Post to Little Rock.

Supporting paragraphs: Timothy Upham James Miller (general)
Answer: United States Army