In the canon law of the Catholic Church, an impediment is a legal obstacle that prevents a sacrament from being performed either validly or licitly or both. The term is used most frequently in relationship to the sacraments of Marriage and Holy Orders. Some canonical impediments can be dispensed by the competent authority (usually the local ordinary but some impediments are reserved to the Apostolic See) as defined in Catholic canon law.