The capital of Spain is Madrid, which was founded 1606. Madrid has been the capital since 2/12/1561.
Madrid is the largest city in Spain and functions as: Houses the parliament.
Madrid is located at 40.4168° N, 3.7038° W, at an elevation of 2188' ft.
Source: https://flic.kr/p/TnoKBg