This was a temporary designation for one legislative session only , and the capital was then moved to another temporary location , Cahawba , until the legislature selected Montgomery as the permanent location .
The capital was then moved to another temporary location , Cahawba , until the legislature selected Montgomery as the permanent location .