A motte-and-bailey castle was built by 1069, three years after the Norman conquest. The castle was held directly by the Norman kings; its castellan was generally also the sheriff of Wiltshire. In 1075, the Council of London established Herman as the first bishop of Salisbury (""), uniting his former sees of Sherborne and Ramsbury into a single diocese which covered the counties of Dorset, Wiltshire, and Berkshire. He and Saint Osmund began the construction of the first Salisbury cathedral but neither lived to see its completion in 1092. Osmund was a cousin of William the Conqueror and Lord Chancellor of England; he was responsible for the codification of the Sarum Rite, the compilation of the Domesday Book, and—after centuries of advocacy from Salisbury's bishops—was finally canonized by Pope in 1457.