sentences:  It was formed out of Greene and Madison Counties and was named after Macoupin Creek, which runs near Carlinville and meanders southwest to the Illinois River.The economy was based on subsistence agriculture, and communication was to the southwest.In the middle 19th century, Illinois developed and changed rapidly.