On August 4, 1809, during the second siege of the city by French troops, the building was destroyed. Reconstruction begins after the war, but the requirement of substantial funding made this process a lengthy one. This began the development of the itinerant nature of the library, which has become part of its identity.