the city of carthage served as its capital