While they are all cities in Scotland, Edinburgh is indeed the Capital City. Edinburgh Castle overlooks the city.