It was raised at the insistence of Isabella II of Spain in the first half of the 19th century, opening on 17 November 1843, a year before Narciso Pascual y Colomer came up with the square's final layout.
However, its equestrian statue of the king dates to the 17th century and was produced by the Italian sculptor Pietro Tacca.
The sculpture, atop a complicated fountain composition, forms the centerpiece of the façade of the Royal Palace.
The statue was based in drawings by Diego Velázquez and a bust by Juan Martínez Montañés (who also collaborated on the work).
The daring stability of the statue was calculated by Galileo Galilei: the horse rears, and the entire weight of the sculpture balances on the two rear legs—and, discreetly, its tail— a feat that had never been attempted in a figure on a heroic scale, of which Leonardo had dreamed.