Madrid is one of Spain's seventeen autonomous communities, located in the centre of the country. It the city of Madrid which is the capital of the province, the community, and the country.
Madrid city has its own flag, above, which is separate from the Madrid Community flag