Somerset originally came under the authority of the Bishop of Sherborne, but Wells became the seat of its own Bishop of Wells from 909. King William Rufus granted Bath to a royal physician, John of Tours, Bishop of Wells and Abbot of Bath, who was permitted to move his episcopal seat for Somerset from Wells to Bath in 1090, thereby becoming the first Bishop of Bath. He planned and began a much larger church as his cathedral, to which was attached a priory, with the bishop's palace beside it.