Definition: In this task you will be given a passage and a yes/no question based on the passage. You should answer the question using the information from the passage.
Input: passage: Richmond, Virginia, served as the capital of the Confederate States of America for almost the whole of the American Civil War. Not only was Richmond the seat of political power for the Confederacy, it served as a vital source of munitions, armament, weapons, supplies, and manpower for the Confederate States Army and Confederate States Navy, and as such would have been defended at all costs regardless of its political status. The city was less than 100 miles (160 km) from the Union capital in Washington, D.C..
question: was richmond virginia the capital of the confederacy?
Output:
Yes