Hans Makart was born in May 1840 in Salzburg, the son of a servant at Schloss Mirabell. He studied only briefly at the Vienna Academy of Fine Arts and then, from 1860, in Munich under Karl Theodor von Piloty. In 1868 he caused a sensation there with his painting cycles "Moderne Amoretten" and "Die Pest in Florenz" (The Plague in Florence), which became a scandal because of their nude female bodies. In 1869 Emperor Franz Joseph summoned him to Vienna and had a studio fitted out for him at the state's expense.
In Vienna Makart rose to become the celebrated "prince of painters". His studio on the Gußhausstraße was lavishly furnished, open to visitors and a sight of the city. Richard Wagner and Franz Liszt came to his parties, and he often designed the costumes for the guests. Interiors and fashion of those years followed his taste, and people spoke of "Makart fashion". His large pictures include "Venedig huldigt Caterina Cornaro" (Venice Pays Homage to Caterina Cornaro) and the cycle "Die fünf Sinne" (The Five Senses), which hangs today in the Oberes Belvedere. In 1879 he became a professor at the Academy and designed the great pageant for the silver wedding of the imperial couple, the high point of his fame. In 1881 he won the commission for the staircase of the new Kunsthistorisches Museum, where he completed twelve lunette paintings.
Makart died on 3 October 1884 in Vienna, aged 44. Edmund Hellmer designed his honorary grave in the Wiener Zentralfriedhof in 1889. In 1894 the Makartgasse in the Innere Stadt was named after him. Judgements of his painting always swung between enthusiasm and rejection. Soon after his death his fame faded, and in recent years he has been regarded with more respect again.
