Srimad Bhagavatam Canto 07, Chapter 05, Text 01

SB 7.5.1

sri-narada uvaca
paurohityaya bhagavan
 vrtah kavyah kilasuraih
sandamarkau sutau tasya
 daitya-raja-grhantike
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
The great saint Narada Muni said: The demons, headed by Hiranyakasipu, accepted Sukracarya as their priest for ritualistic ceremonies. Sukracarya’s two sons, Sanda and Amarka, lived near Hiranyakasipu’s palace.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
The beginning of the life story of Prahlada is recounted as follows. Sukracarya became the priest of the atheists, especially Hiranyakasipu, and thus his two sons, Sanda and Amarka, resided near Hiranyakasipu’s residence. Sukracarya should not have become the priest of Hiranyakasipu because Hiranyakasipu and his followers were all atheists. A brahmana should become the priest of a person interested in the advancement of spiritual culture. The very name Sukracarya, however, indicates a person interested in obtaining benefits for his sons and descendants, regardless of how the money comes. A real brahmana would not become a priest for atheistic men.
Srimad Bhagavatam Canto 07, Chapter 05, Text 02