The Royal Palace of Madrid (Palacio Real de Madrid) is the official residence of the Spanish Royal Family at the city of Madrid, but it is only used for state ceremonies. Several rooms in the palace are regularly open to the public except during state functions.
The palace is located on the site of a 9th-century Alcázar (Muslim-era fortress), near the town of Magerit, constructed as an outpost by Muhammad I of Córdoba and inherited after 1036 by the independent Moorish Taifa of Toledo. After Madrid fell to King Alfonso VI of Castile in 1083, the edifice was only rarely used by the kings of Castile. In 1329, King Alfonso XI of Castile convened the cortes of Madrid for the first time. King Felipe II moved his court to Madrid in 1561.
The old Alcázar was built on the location in the 16th century. After it burned 24 December 1734, King Felipe V ordered a new palace built on the same site. Construction spanned the years 1738 to 1755 and followed a Berniniesque design by Filippo Juvarra and Giovanni Battista Sacchetti in cooperation with Ventura Rodríguez, Francesco Sabatini, and Martín Sarmiento. King Carlos III first occupied the new palace in 1764.
The last monarch who lived continuously in the palace was King Alfonso XIII, although Manuel Azaña, president of the Second Republic, also inhabited it, making him the last head of state to do so.
The palace has 135,000 square metres of floor space and contains 3,418 rooms. It is the largest royal palace in Europe by floor area. The interior of the palace is notable for its wealth of art and the use of many types of fine materials in the construction and the decoration of its rooms. These include paintings by artists such as Caravaggio, Francisco de Goya, and Velázquez, and frescoes by Giovanni Battista Tiepolo, Juan de Flandes, Corrado Giaquinto, and Anton Raphael Mengs. Other collections of great historical and artistic importance preserved in the building include the Royal Armoury of Madrid, porcelain, watches, furniture, silverware, and the world's only complete Stradivarius string quintet.
References:Linderhof is the smallest of the three palaces built by King Ludwig II of Bavaria and the only one which he lived to see completed.
Ludwig II, who was crowned king in 1864, began his building activities in 1867-1868 by redesigning his rooms in the Munich Residenz and laying the foundation stone of Neuschwanstein Castle. In 1868 he was already making his first plans for Linderhof. However, neither the palace modelled on Versailles that was to be sited on the floor of the valley nor the large Byzantine palace envisaged by Ludwig II were ever built.
Instead, the new building developed around the forester's house belonging to his father Maximilian II, which was located in the open space in front of the present palace and was used by the king when crown prince on hunting expeditions with his father.