Dallas County was formed on February 9, 1818. It was named for U.S. Treasury Secretary Alexander J. Dallas of Pennsylvania. At first the county seat was at Cahaba. In 1865, the county seat was moved to Selma.