This painting was commissioned by Duke Wolfgang Wilhelm of Pfalz-Neuburg for the high altar of the Jesuit church in Neuburg an der Donau.