CIC
Canon 266
Book II. The People of God
Faithful and Church organization
Code of Canon Law
English§1. Through the reception of the diaconate, a person becomes a cleric and is incardinated in the particular church or personal prelature for whose service he has been advanced.
§2. Through the reception of the diaconate, a perpetually professed religious or a definitively incorporated member of a clerical society of apostolic life is incardinated as a cleric in the same institute or society unless, in the case of societies, the constitutions establish otherwise.
§3. Through the reception of the diaconate, a member of a secular institute is incardinated in the particular church for whose service he has been advanced unless he is incardinated in the institute itself by virtue of a grant of the Apostolic See.