nearly 6700 volumes at its peak , all of them eventually sold to the united states to form the library of congress after the british burned the capitol in 1814 , destroying the nation 's first collection of books .