Carlist Wars
During the Carlist Wars, it operated as the capital and royal court of the Carlists. It was there where the agreement symbolized in the Vergara Embrace between Rafael Maroto and Baldomero Espartero, Prince of Vergara ended one of the period wars.