Francisco Bambitelli, Lieutenant Colonel of the Spanish Army and engineer, drew up the blueprint and began the construction on August 16 of the same year.
After Bambitelli's departure to Havana, Captain Manuel Agustín Mascaró took over the leadership of the project and during his tenure the works proceeded at a rapid pace.
Lacking a head engineer, the Spanish Crown ordered that the building be auctioned at a price equivalent to one-fifth of the quantity thus far spent on its construction.
German scientist Alexander von Humboldt visited the site in 1803 and condemned the Royal Treasury's sale of the palace's windows to raise funds for the Crown.
During the Battle of Chapultepec, Mexican troops stood strong and preferred to face death defending their country as opposed to surrendering to American forces.
[5] On September 13, 1847, the Niños Héroes ("Boy Heroes") died defending the castle while it was taken by United States forces during the Battle of Chapultepec of the Mexican–American War.
Additionally, the Emperor brought from Europe countless pieces of furniture, objets d'art and other fine household items that are exhibited to this day.
Following the reestablishment of the Republic in 1867 by President Benito Juárez and the end of the civil war to oust the French invaders and defeat their Mexican conservative allies, the boulevard was renamed Paseo de la Reforma, after the Liberal reform.
"[10][11] In 1876, a decree established it as an Astronomical, Meteorological and Magnetic Observatory on the site, which was opened in 1878 during the presidency of Sebastián Lerdo de Tejada.
Presidents Francisco I. Madero (1911–13), Venustiano Carranza (1915–20), Álvaro Obregón (1920–24), Plutarco Elías Calles (1924-28), Emilio Portes Gil, Pascual Ortiz Rubio and Abelardo Rodríguez all lived there during this time.
On 16 January 1992, the Chapultepec Peace Accords, which ended the Salvadoran civil war, were signed in the castle with the mediation of UN Secretary-General Boutros Boutros-Ghali.