Complex sentence: He was elected Archbishop of Dublin, but his election was contested by William de la Corner from 1271 to 1279.
Split into simpler sentences: He was elected Archbishop of Dublin. The election was contested by William de la Corner from 1271 to 1279.