Question: In what town was the battle less than a week after George Custer was brevetted to brigadier general?
Context: Henry J. Madill (born 30 March 1829, Hunterstown, Pennsylvania) was a lawyer and U.S. Army Colonel during the American Civil War.  Madill was privately educated, and was admitted to the bar of Bradford County in 1851.  He was elected major of the 6th Pennsylvania Reserves on June 22, 1861.  On August 30, 1862, he was appointed colonel of the 141st Pennsylvania Infantry.  Madill was brevetted brigadier general December 2, 1864 by presidential order.  He was brevetted major general of volunteers on March 15, 1865.  Madill was wounded three times and had six horses shot from under him. Brigadier General William Harvey Gibson (May 16, 1821 – November 22, 1894) was a Republican politician from Ohio.  He resigned from the Ohio State Treasurer's office in disgrace and redeemed his reputation in war.  He was brevetted Brigadier General of the Union Army's 49th Ohio Volunteer Infantry during the American Civil War. The 1881 Courthouse Museum is an American historical museum located in Custer, South Dakota.  The museum is housed in the original Custer County Courthouse which served as a center for government in Custer County and the Dakota Territory from 1881 to 1973.  In November 1972, the 3-story red-brick courthouse was designated a historic site by the U.S Department of Interior.  Following completion of a new courthouse located across the street, the original building was given to the Custer County Historical Society in 1973.  The 1881 Custer County Courthouse museum was opened on September 6, 1976, by the Custer Country Historical Society.  The museum houses exhibits about the Lakota Native American culture, the 1874 expedition of George Custer, and the lives of Victorian-era settlers in the Black Hills and Dakota Territory. Custer developed a strong reputation during the Civil War.  He participated in the first major engagement, the First Battle of Bull Run on July 21, 1861, near Washington, D.C. His association with several important officers helped his career as did his success as a highly effective cavalry commander.  Custer was brevetted to brigadier general at age 23, less than a week before the Battle of Gettysburg, where he personally led cavalry charges that prevented Confederate cavalry from attacking the Union rear in support of Pickett's Charge.  He was wounded in the Battle of Culpeper Court House in Virginia on September 13, 1863.  In 1864, Custer was awarded another star and brevetted to major general rank.  At the conclusion of the Appomattox Campaign, in which he and his troops played a decisive role, Custer was present at General Robert E. Lee's surrender to General Ulysses S. Grant, on April 9, 1865. 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. The Battle of Appomattox Station was fought between a Union Army (Army of the Potomac, Army of the James, Army of the Shenandoah) cavalry division under the command of Brigadier General (Brevet Major General) George Armstrong Custer and Confederate Army of Northern Virginia artillery units commanded by Brigadier General Lindsay Walker with support from some dismounted cavalrymen, artillerymen armed with muskets and some stragglers on April 8, 1865, at Appomattox Station, Virginia during the Appomattox Campaign of the American Civil War. Bradley Winslow (August 1, 1831 – October 24, 1914) was an American Civil War Union brevet brigadier general.  He enlisted as a lieutenant on May 9, 1861.  He fought in the Second Battle of Bull Run and the Siege of Petersburg.  He was brevetted as brigadier general on April 2, 1865. 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. The Battle of Gettysburg ( , with an sound) was fought July 1–3, 1863, in and around the town of Gettysburg, Pennsylvania, by Union and Confederate forces during the American Civil War.  The battle involved the largest number of casualties of the entire war and is often described as the war's turning point.  Union Maj. Gen. George Meade's Army of the Potomac defeated attacks by Confederate Gen. Robert E. Lee's Army of Northern Virginia, halting Lee's invasion of the North. At the beginning of the war, the Arkansas Succession Convention created the Provisional Army of Arkansas.  The Provisional Army was to consist of two divisions: the 1st Division in the western part of the state was to be commanded by Brigadier General Pearce, and the 2nd Division in the eastern half of the state, commanded by Major General James Yell.  The intent of the Secession Convention was to transfer these state troop regiments into Confederate service as quickly as possible, to avoid the cost of paying for a large state army.  The troops of the eastern division were transferred to the command of Brigadier General Hardee in July 1861, but the troops of the western division under Brigadier General Pearce were not transferred to Confederate service before they became engaged in the Battle of Wilson's Creek.
Answer: Gettysburg, Pennsylvania