yad asau śāstram ullaṅghya
svaira-cāry ati-garhitaḥ
avartata ciraṁ kālam
aghāyur aśucir malāt
yat - because; asau - this brāhmaṇa; śāstram ullaṅghya - transgressing the laws of śāstra; svaira-cārī - acting irresponsibly; ati-garhitaḥ - very much condemned; avartata - passed; ciram kālam - a long time; agha-āyuḥ - whose life was full of sinful activities; aśuciḥ - unclean; malāt - because of impurity.
Food prepared by an unclean, sinful man or woman, especially a prostitute, is extremely infectious. Ajāmila ate such food, and therefore he was subject to be punished by Yamarāja.