The gallery began with 38 paintings bought for the nation from banker John Julius Angerstein's collection in 1824. They were first displayed in his Pall Mall house; the collection moved to Trafalgar Square in 1838.