CIC
Canon 553
Book II. The People of God
Faithful and Church organization
Code of Canon Law
English§1. A vicar forane, who is also called a dean, an archpriest, or some other name, is a priest who is placed over a vicariate forane.
§2. Unless particular law establishes otherwise, the diocesan bishop appoints the vicar forane, after he has heard the priests who exercise ministry in the vicariate in question according to his own prudent judgment.