Spain

Spain, officially the Kingdom of Spain (Spanish: Reino de España), is a sovereign state located on the Iberian Peninsula in southwestern Europe, with two large archipelagoes, the Balearic Islands in the Mediterranean Sea and the Canary Islands off the North African Atlantic coast, two cities, Ceuta and Melilla, in the North African mainland and several small islands in the Alboran Sea near the Moroccan coast. The country's mainland is bordered to the south and east by the Mediterranean Sea except for a small land boundary with Gibraltar; to the north and northeast by France, Andorra, and the Bay of Biscay; and to the west and northwest by Portugal and the Atlantic Ocean. It is the only European country to have a border with an African country (Morocco) and its African territory accounts for nearly 5% of its population, mostly in the Canary Islands but also in Ceuta and Melilla.
Credit: Wikipedia
Autonomous
community	Capital 	Population (2020)	Area (km2)	Status
Andalusia 	Seville 	8,464,411 	87,268 	Nationality
Catalonia 	Barcelona 	7,780,479 	32,114 	Nationality
Community of Madrid	Madrid 	6,779,888 	8,028 	Region
Valencian Community	Valencia 	5,057,353 	23,255 	Nationality
Galicia 	Santiago de Compostela 	2,701,819 	29,574 	Nationality
Castile and Leon 	Valladolid
(de facto seat of institutions) 	2,394,918 	94,223 	Historical community
Basque Country 	Vitoria-Gasteiz
(de facto seat of institutions) 	2,220,504 	7,234 	Nationality
Canary Islands 	Las Palmas de Gran CanariaSanta Cruz de Tenerife	2,175,952 	7,447 	Nationality
Castilla–La Mancha 	Toledo 	2,045,221 	79,463 	Region
Region of Murcia 	Murcia 	1,511,251 	11,313 	Region
Aragon 	Zaragoza 	1,329,391 	47,719 	Nationality
Balearic Islands 	Palma 	1,171,543 	4,992 	Nationality
Extremadura 	Mérida 	1,063,987 	41,634 	Region
Asturias 	Oviedo 	1,018,784 	10,604 	Historical community
Navarre 	Pamplona 	661,197 	10,391 	Nationality
Cantabria 	Santander 	582,905 	5,321 	Historical community
La Rioja 	Logroño 	319,914 	5,045 	Region