The work was commissioned by the rich merchant Matthäus Landauer of Nuremberg for a chapel dedicated to the Holy Trinity and All the Saints in the Zwölfbrüderhaus ("House of Twelve Brothers"), which he had founded with Erasmus Schiltkrot in 1501.
The altarpiece was commissioned in 1508, but was delivered three years later, when it was placed in the church.