an Entity references as follows:
Cahaba, also spelled Cahawba, was the first permanent state capital of Alabama from 1820 to 1825, and the county seat of Dallas County, Alabama until 1866. Located at the confluence of the Alabama and Cahaba rivers, it suffered regular seasonal flooding. The state legislature moved the capital to Tuscaloosa in 1826. After the town suffered another major flood in 1865, the state legislature moved the county seat northeast to Selma, which was better situated.