The Prince Bishops also had their own court system, most notably the Durham Court of Chancery. The county also had its own attorney general, whose authority to bring an indictment for criminal matters was tested by central government in the infamous case of "Rex" v. "Mary Ann Cotton" (1832). The courts and judicial posts for the county were finally abolished in 1873.