 The Biblioteca Nacional was founded in 1810 by the Portuguese royal family; the collection was left behind in the country following the terms of the treaty that allowed the royal family's return.The library is one of the largest in the Americas, with over 9 million items in the collection.The Biblioteca Nacional organized the first classes in library science in South America and pioneered modernization.