During that period the palace was known as "Palacio Nacional".
Gradnja je trajala od 1738 do 1755 in sledila berninijevskemu projektu Filippa Juvarre in Giovanni Battista Sacchettija v sodelovanju z Ventura Rodríguez, Francesco Sabatini, Martín Sarmiento.