The painting was commissioned by the monks of the Benedictine monastery of San Sisto in Piacenza as part of an altar set. In the 1750s Augustus III of Poland bought it and in 1754 the painting was placed in the Dresden Gallery.