The county several had a number of exclaves: Bedlingtonshire, Islandshire and Norhamshire within Northumberland, and Craikshire within the North Riding of Yorkshire. The historic boundaries were used for parliamentary purposes until 1832, and for law courts and local government until the Counties (Detached Parts) Act 1844, which merged most remaining exclaves with their surrounding county.