In 1822 King George III donated the entire Royal Library to the museum. This contained over 65,000 books and pamphlets. In 1823 the original building was demolished and work began on new buildings to hold the ever growing collection. Some of the space was freed up when the National Gallery opened in 1824, as many of the Museum's paintings and drawings were moved there.