Context_1 : 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. Context_2 : The Battle of Appomattox Court House (Virginia, U.S.), fought on the morning of April 9th, 1865, was one of the last battles of the American Civil War (1861-1865). It was the final engagement of Confederate States Army general Robert E. Lee's Army of Northern Virginia before it surrendered to the Union Army / Army of the Potomac under Lt. Gen. and General-in-Chief Ulysses S. Grant. Lee, having abandoned the Confederate capital of Richmond, Virginia, after the ten-month Siege of Petersburg and Richmond, retreated west, hoping to join his army with the remaining Confederate forces in North Carolina of the Army of Tennessee under Gen. Joseph E. Johnston. Union infantry and cavalry forces under Gen. Phillip Sheridan pursued and cut off the Confederates' retreat at the central Virginia village of Appomattox Court House. Lee launched an last-ditch attack to break through the Union forces to his front, assuming the Union force consisted entirely of lightly armed cavalry. When he realized that the cavalry was now backed up by two corps of Federal infantry, he had no choice but to surrender with his further avenue of retreat and escape now cut off. Context_3 : The following Confederate States Army units and commanders fought in the Battle of Wilson's Creek of the American Civil War, fought on August 10, 1861 near Springfield, Missouri. Though identified with the Confederates, the Missouri State Guard were technically an independent army, as Missouri had not yet seceded, and were not folded into the Confederate Army of the West until March 17, 1862. Though identified with the Confederates, the Arkansas State Trooops were technically not yet Confederate troops. Arkansas had seceded on XX and be recognized as a Confederate States, but Brigadier General Nichols Pearce's troops had not been transferred from the State of Arkansas to the Confederate Government and had not been sworn into Confederate Service. After the battle, Pearce's troops voted to disband rather than enter Confederate Service. Context_4 : The General-in-Chief of the Confederate States Army, formally the General in Chief of the Armies of the Confederate States, was the senior-most officer in the Confederate States Army in 1865. The only holder of this military office was General Robert E. Lee, who retained command of the Army of Northern Virginia. Context_5 : The Sheads House, also known as Oak Ridge Seminary, is a historic home located at Gettysburg in Adams County, Pennsylvania. It was built in 1862, and is a 2 1/2-story, "T"-shaped brick dwelling in the Gothic Revival style. It sits on a granite foundation and has a cross gable roof. It features an ornamental fascia board and porches with ornamental balustrades. Shortly after it was built it housed Oak Ridge Seminary, a girls' school. During the Battle of Gettysburg, it was used as a hospital for Confederate States Army wounded. Context_6 : The Confederate States War Department was a cabinet-level department in Confederate States of America government responsible for the administration of the affairs of the Confederate States Army. The War Department was led by the Confederate States Secretary of War. During its existence, the War Department was the largest department of the Civil Service in Confederate States of America. Context_7 : The Battle of Namozine Church, Virginia was an engagement between Union Army and Confederate States Army forces that occurred on April 3, 1865 during the Appomattox Campaign of the American Civil War. The battle was the first engagement between units of General Robert E. Lee's Confederate Army of Northern Virginia after that army's evacuation of Petersburg and Richmond, Virginia on April 2, 1865 and units of the Union Army (Army of the Shenandoah, Army of the Potomac and Army of the James) under the immediate command of Maj. Gen. Philip Sheridan, who was still acting independently as commander of the Army of the Shenandoah, and under the overall direction of Union General-in-Chief Lt. Gen. Ulysses S. Grant. The forces immediately engaged in the battle were brigades of the cavalry division of Union Brig. Gen. and Brevet Maj. Gen. George Armstrong Custer, especially the brigade of Colonel and Brevet Brig. Gen. William Wells, and the Confederate rear guard cavalry brigades of Brig. Gen. William P. Roberts and Brig. Gen. Rufus Barringer and later in the engagement, Confederate infantry from the division of Maj. Gen. Bushrod Johnson. Context_8 : This is a list of Confederate arms manufacturers. The Confederate States of America was a government set up from 1861 to 1865 by eleven Southern states that had declared their secession from the United States. The Confederate States Army was the army of the Confederate States of America while the Confederacy existed during the American Civil War. Companies appearing in this list were manufacturers of arms within the confederate states. Context_9 : The Military of the Confederate States of America existed between 1861 and 1865, and was tasked throughout its existence with fighting the American Civil War. It comprised three branches: the Confederate States Army, the Confederate States Navy and the Confederate States Marine Corps. It was disbanded with the collapse of the Confederacy. Context_10 : 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. fact_1 :  During the Battle of Gettysburg, it was used as a hospital for Confederate States Army wounded. fact_2 : 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. Question: What were the dates that the battle was fought when Sheads House was used as a hospital for Confederate States Army?
Output: July 1–3, 1863