Name given for use of capital cities to represent the government [duplicate]
Solution 1:
metonym is the word you're looking for. Here's the definition from Google's dictionary:
noun /ˈmetəˌnim/ metonyms, plural
A word, name, or expression used as a substitute for something else with which it is closely associated. For example, Washington is a metonym for the federal government of the U.S