Question:  Great Conewago Presbyterian Church used as a Confederate Army hospital during a military invasion of Pennsylvania by the main Confederate army under who?

Context paragraphs:
West Presbyterian Church (New York City): West Presbyterian Church, in New York City, was a congregation and two houses of worship.  The congregation was founded in 1829, and merged in 1911 with Park Presbyterian Church to form West–Park Presbyterian Church.  The first house of worship, also known as the Carmine Street Presbyterian Church, in Greenwich Village, was used from 1832 to 1965, and the second, on West 42nd Street between Fifth Avenue and Sixth Avenue, from 1865 until 1911, when it was sold and demolished.  Proceeds from the sale were used, in accordance with the merger agreement, to build and endow a church for an underserved neighborhood, Washington Heights: Fort Washington Presbyterian Church.  In addition, the West Church congregation had earlier established two mission churches which eventually merged to become Good Shepherd–Faith Presbyterian Church.  West–Park, Fort Washington, and Good Shepherd–Faith are all active today.

Ancón, Panama: Ancón is a corregimiento in Panamá District, Panamá Province, Panama with a population of 29,761 as of 2010.  Its population as of 1990 was 11,518; its population as of 2000 was 11,169.  It is sometimes considered a suburb or small town within Panama City, northeast of the limits of the town of Balboa.  Ancon Hill is also the name of a large hill that overlooks Panama City and once served as a form of protection from pirates and sea invasion.  The township was originally located around this hill, and was created to house employees of the Panama Canal during its construction.  As part of the construction effort, the historic Gorgas Army Hospital was founded and built on the hillside.  The first ship to officially transit the canal, SS "Ancon" , was named after the district.  The community continued to serve as housing for employees of the Panama Canal Company until 1980, when parts of it began to be turned over to the Panamanian government under the 1977 Torrijos-Carter Treaties.  Modern-day Ancón is a "corregimiento" (the Panamanian equivalent of a suburb in the United States) of Panama City, serving mainly as a residential area.  The Gorgas Army Hospital building is now the Panamanian Oncology Hospital, primarily used for cancer research.  The area also houses Panama's Supreme Court, just a few feet away from the Gorgas Army Hospital building, and several Smithsonian Tropical Research Institute buildings for research into tropical biology.  Ancón is also a parish ("parroquia") of the District of Panama, located in the Panama Canal adjacent area.

Great Conewago Presbyterian Church: Great Conewago Presbyterian Church is a historic Presbyterian church on Church Road near Hunterstown, Straban Township, Adams County, Pennsylvania.  It was built in 1787, and is a six bay wide and three bay deep rectangular fieldstone building.  It features rounded arched doors and windows and a rounded arch ceiling.  During the Gettysburg Campaign, it was used as a Confederate Army hospital.

Benjamin M. Palmer: Benjamin Morgan Palmer (January 25, 1818 – May 25, 1902), an orator and Presbyterian theologian, was the first moderator of the Presbyterian Church in the Confederate States of America.  As pastor of the First Presbyterian Church of New Orleans, his Thanksgiving sermon in 1860 had a great influence in leading Louisiana to join the Confederate States of America.  After 1865 he was minister in the Presbyterian Church in the United States.

Presbyterian Church in the United States: The Presbyterian Church in the United States (PCUS, originally Presbyterian Church in the Confederate States of America) was a Protestant Christian denomination in the Southern and border states of the United States that existed from 1861 to 1983.  That year it merged with the United Presbyterian Church in the United States of America (UPCUSA) to form the Presbyterian Church (USA).

Gettysburg Campaign: The Gettysburg Campaign was a military invasion of Pennsylvania by the main Confederate army under General Robert E. Lee in summer 1863.  The Union won a decisive victory at Gettysburg July 1–3, with heavy casualties on both sides.  Lee managed to escape back to Virginia with most of his army.  It was a turning point in the American Civil War, with Lee increasingly pushed back toward Richmond until his surrender in April 1865.  After his victory in the Battle of Chancellorsville, Lee's Army of Northern Virginia moved north for a massive raid designed to obtain desperately needed supplies, to undermine civilian morale in the North, and to encourage anti-war elements.  The Union Army of the Potomac was commanded by Maj. Gen. Joseph Hooker and then (from June 28) by Maj. Gen. George G. Meade.

Gardiner Spring Resolutions: The Gardiner Spring Resolutions were adopted by the General Assembly of the Presbyterian Church in the United States of America in May 1861 and precipitated the creation of the Presbyterian Church in the Confederate States of America and the schism of the Presbyterian Church along regional lines and that lasted from the American Civil War until 1983.  The resolutions were propounded by Gardiner Spring, the longtime pastor of the Brick St. Presbyterian Church in New York City, and defended by his brother, Charles A. Spring, the founder of several churches in Iowa and Illinois.  The resolutions were adopted a few weeks after the Battle of Fort Sumter and had the effect of giving the Presbyterian Church's assent to Abraham Lincoln's attempts to keep the Union intact in the face of Southern secession.

Hunterstown Historic District: Hunterstown Historic District is a national historic district located at Hunterstown, Straban Township in Adams County, Pennsylvania.  The district includes 48 contributing buildings within the original perimeters of Hunterstown.  They primarily date from the late 18th to the mid-19th century and consists of log, frame, and brick residential buildings and a farm complex.  Located in the district is the separately listed Great Conewago Presbyterian Church.

32nd Arkansas Infantry Regiment: May 1862 found Confederate Arkansas, with almost no organized army facing an invasion by forces under Union General Samuel R. Curtis.  In March, Major General Earl Van Dorn had been ordered to move his Army of the West, via riverboats to the east side of the Mississippi River to reinforce Confederate forces near Corinth, Mississippi, leaving the state of Arkansas with no organized Confederate forces.  Major General Thomas C. Hindman was dispatched to Arkansas to assume command of the Department of the Trans-Mississippi, arriving in Little Rock on 31 May 1862.  Earlier in the month, Confederate Brigadier General John S. Roane, who had been left in command in Little Rock by General Van Dorn, had managed to stop a Texas Cavalry Regiment that was traversing the state to join General Van Dorn in Mississippi.  This gave General Hindman one organized Cavalry Regiment to attempt to stop General Curtis's force from moving from Batesville, which had been occupied in early May, south to the state capital.  Fortunately for General Hindman, the Confederate Congress had passed a Conscription (Draft) law in April 1862.  The passage of this law had two effects that would help Hindman.  The first, the law provided a method of pressing manpower into the Confederate Army through conscription or threat of conscription.  Second, the law required that all existing Confederate regiments be re-organized, with new elections for officers, but gave the existing officers the option of resigning rather than standing for re-election.  Many of the regimental officers serving in Arkansas regiments east of the Mississippi river chose to resign and follow General Hindman back to Arkansas and assist in the raising of new forces.  This gave Hindman an officer corps around which to build his new army.

Church of the Covenant (Pennsylvania): Church of the Covenant is a Presbyterian Church located in Washington, Pennsylvania.  It operates under the Presbyterian Church U.S.A. denomination under the Synod of the Trinity and the Presbytery of Washington.  The church has historically maintained a strong relationship with the neighboring Washington & Jefferson College.  The church was founded through the merger of the Second Presbyterian Church, which was itself a splinter group from the First Presbyterian Church 1793, and the Third Presbyterian Church in 1960.

Supporting paragraphs: Great Conewago Presbyterian Church Gettysburg Campaign
Answer: General Robert E. Lee