 From its beginnings, the idea of clerical celibacy has been contested in canon courts, in theology, and in religious practices.Celibacy for Roman Catholic priests was not mandated under canon law for the universal church until the Second Lateran Council in 1139.The Council of Elvira in Spain (c. 305–306) was the first council to call for clerical celibacy.