Libby Prison in Richmond, VA Share on: Share: Richmond, Virginia, 1865. The building in the photograph is Libby Prison, used to jail Union soldiers (mostly officers) throughout the Civil War, most notably after the Battle of Seven Pines. View our photo collection! View Collection