The painting was commissioned by József Mailáth, the lord of the mansion at Perbenyik in Upper Hungary. It represents the two Mailáth grandchildren.