 It was composed in 1934, and Rachmaninoff lived an additional nine years after that. The theme is from the 24 solo violin caprices by another great performer-slash-composer, Niccolo Paganini. It's remarkable how many composers have used that 24th caprice as the basis for variations, including Brahms' list, and, well, the list goes on and on.