Benito Juárez issued a decree on November 30, 1867, in which the National Library acquired most of its modern prerogatives, including legal deposit.
The National Library moved to its current location in the UNAM campus in 1979.