Was danville VA the last confederate capital?

Yes, Danville was the last capital of the Confederate States of America. The Confederate government fled Richmond, Virginia, on April 3, 1865, as Union forces approached the city. Jefferson Davis and his cabinet, along with the Confederate treasury and archives, were moved to Danville by train. The government remained in Danville for a week before moving on to Greensboro, North Carolina, and then Charlotte, North Carolina, where it finally collapsed on May 9, 1865.
Copyright Wanderlust World © https://www.ynyoo.com