In the early 19th century Folkingham was part of Quarter Sessions, the higher court that dispensed justice for the area, which explains why a House of Correction, or minor prison, was built. It was constructed on the site of Folkingham Castle.[1] The surviving Grade II* listed buildings consist of the original 19th-century governor's house and gateway, dating from 1808 and 1825.[20][21] It was closed in 1878 but was taken over in about 1980 by the Landmark Trust, which converted the Gateway into a holiday home.[22]