In 1478 , he had an important commission to paint an altarpiece for the Monks of San Donato a Scopeto . The painting was to be the Adoration of the Magi ( The Three Wise Men ) . In January 1478 he received his first independent commission , to paint an altarpiece in 1478 for the Chapel of St Bernard in the Palazzo Vecchio and The Adoration of the Magi in March 1481 for the Monks of San Donato a Scopeto .