In his memoirs, Repin said he was inspired to create the painting by the 1881 assassination of Tsar Alexander II, the music of Nikolai Rimsky-Korsakov, and the bullfighting he had witnessed in 1883.