The painting was commissioned for the high altar of the St Thomas Church of the Augustinian Order where it remained until 1896.