Many of Mexico's leaders after independence made changes to the Viceroy Palace, including renaming it the "National Palace". Mexico's first ministries were installed such as the Ministry of Hacienda (internal revenue), Ministry of War, Ministry of Justice, and the Ministry of Internal and External Relations, as well as the Supreme Court. During an uprising led by Valentín Gómez Farías against then-president Anastasio Bustamante, the southwest balustrade was seriously damaged during a siege lasting twelve days. In 1845, the old Chambers of Deputies was constructed, with the Senate on the upper floor of the south wing. In 1850, Mariano Arista had the old north prison door cemented shut and constructed the current northern door. He also converted the north wing into barracks of the "Batallón de Guardia de Supremos Poderes" (Battalion of Guards for the Supreme Powers). In 1864, Maximilian of Habsburg had three flagpoles installed in front of the three main doors. By the central door was the Mexican flag; at the north door was the flag of Austria and at the south door was the flag of France. He also had Lorenzo de la Hidalga construct the grand marble staircase that is in the Patio of Honor in the southern wing, as well as having the public rooms roofed and furnished with paintings, candelabras, and chamber pots from Hollenbach, Austria and Sirres, France. In opposition, Benito Juárez chose to have his quarters in the north end of the Palace, rather than in the traditional southern end.