 In 1826 the location was purchased by the state government to serve as the Palace of Government, a role it fulfilled until the new palace was inaugurated in 1892.On October 12, 1864, President Benito Juárez, fleeing from the French invasion, arrived in the city where he established his government-in-exile.Juárez lived in and ran the constitutional government from the palace through December 1866.