The National Gallery was founded in 1824 when the House of Commons purchased 38 paintings from a banker, John Julius Angerstein, who then opened his home for public viewing of the collection. As the collection grew, the need for a larger, permanent gallery was addressed in 1831 with the construction of a building in Trafalgar Square, a central location accessible to all. The new building was formerly the home of the King's Mews.