Capital is the most important city of the country or a state.
A ‘Capitol’ is always a building. Also the other meanings of Capitol are: (1) The government building in Washington where the United States Senate and the House of Representatives meet
(2) the hill in Rome where the geese saved the day.
Capitol the noun means: a building occupied by a state legislature.