 Current canon law prescribes that to be ordained a priest, an education is required of two years of philosophy and four of theology, including study of dogmatic and moral theology, the Holy Scriptures, and canon law have to be studied within a seminary or an ecclesiastical faculty at a university.Roman Catholicism mandates clerical celibacy for all clergy in the predominant Latin Rite, with the exception of deacons who do not intend to become priests.Exceptions are sometimes admitted for ordination to transitional diaconate and priesthood on a case-by-case basis for married clergymen of other churches or communities who become Catholics, but ordination of married men to the episcopacy is excluded (see personal ordinariate).