In 1636 William Laud, the chancellor and Archbishop of Canterbury, codified the university's statutes. These, to a large extent, remained its governing regulations until the mid-19th century. Laud was also responsible for the granting of a charter securing privileges for the University Press, and he made significant contributions to the Bodleian Library, the main library of the university. From the beginnings of the Church of England as the established church until 1866, membership of the church was a requirement to receive the BA degree from the university and "dissenters" were only permitted to receive the MA in 1871.