In 1791 the seat of government and the governor's (or captain general's) residence were transferred from the fort to the newly built, baroque Palacio de los Capitanes Generales (Palace of the Captain Generals) on the square's western flank.
The government's seat was transferred in 1791.