These panels formed part of one of the most important altarpieces ever painted for a Scottish chapel, and are thought to have been the wings of a triptych. The work was commissioned by Edward Bonkil, Provost of the Collegiate Chapel of the Holy Trinity in Edinburgh. (The chapel was demolished in 1848 to make way for Waverley Station.) The missing central panel possibly showed the Virgin and Child Enthroned, and may have been destroyed during the Reformation. When open, the wings show a devout King James III with his elder son and his queen Margaret of Denmark, accompanied by St Andrew and St George. The lion rampant on the king’s coat of arms is reversed in deference to the holy figures on the missing central panel. The closed wings feature a vision of the Holy Trinity appearing to the kneeling Edward Bonkil.