Shelby County, Illinois was formed in 1827 from Fayette County, Illinois.