The Persian master artists Abd al-Samad and Mir Sayyid Ali, who had accompanied Humayun to India in the 16th century, were in charge of the imperial atelier during the formative stages of Mughal painting. Many artists worked on large commissions, the majority of them apparently Hindu, to judge by the names recorded. Mughal painting generally involved a group of artists, one (generally the most senior) to decide and outline the composition, the second to actually paint, and perhaps a third who specialized in portraiture, executing individual faces.