sentences:  Its capital is the city of Madrid, which is also the capital of the country.The Community of Madrid is bounded to the south and east by Castilla–La Mancha and to the north and west by Castile and León.It was formally created in 1983, based on the limits of the province of Madrid, which was until then conventionally included in the historical region of New Castile.