The Royal Academy of History is a Spanish institution in Madrid that studies history "ancient and modern, political, civil, ecclesiastical, military, scientific, of letters and arts, that is to say, the different branches of life, of civilisation, and of the culture of the Spanish people". Spanish people in this regard are understood to be citizens of the Kingdom of Spain or the indigenous people of its predecessors, or their descendants. The academy was established by royal decree of Philip V of Spain on 18 April 1738. Its official publication is the Boletín de la Real Academia de la Historia.
Madrid is the capital and most populous municipality of Spain. It has almost 3.5 million inhabitants and a metropolitan area population of approximately 7 million. It is the second-largest city in the European Union (EU), second only to Berlin, Germany, and its metropolitan area is the second-largest in the EU. The municipality covers 604.3 km2 (233.3 sq mi) geographical area. Madrid lies on the River Manzanares in the central part of the Iberian Peninsula at about 650 m (2,130 ft) above mean sea level. The capital city of both Spain and the surrounding autonomous community of Madrid, it is also the political, economic, and cultural centre of the country.