Aihole was the first capital of the Chalukyas and the oldest town in their empire. It is in Aihole where they started establishing their kingdom. Around 40 kms from Badami is the town of Aihole which is lined by a number of ruins.
Read this post on arunthetraveller.blogspot.com