The Castle remained the bishop's palace for the Bishop of Durham until Auckland Castle became the bishops' residence in 1832. Durham Castle was donated to the University of Durham by Bishop William Van Mildert and later become the college. The college did not occupy the castle until 1837, renovations of the building was completed by the next Bishop, Edward Maltby.