Protestant nonconformity flourished in Castle Cary during the height of its industrial era in the 19th and early 20th centuries.