In 1122, with the Concordat of Worms, the Emperor's right of investiture was annulled, and the cathedral chapter received the right to elect the bishop. It was, however, soon obligated to share this right with the four other collegiate chapters in the city. The Counts of Holland and Guelders, between whose territories the lands of the Bishops of Utrecht lay, also sought to acquire influence over the filling of the episcopal see. This often led to disputes and consequently the Holy See frequently interfered in the election. After the middle of the 14th century the popes repeatedly appointed the bishop directly without regard to the five chapters.