For a short period from 1601 to 1605, the Valladolid Audiencia sat in Medina del Campo, when the royal court moved to Valladolid. The Audiencia later moved into the Palace of the Four Towers (today the Captaincy General) in Burgos for a mere nine months between 1605 and 1606. After this, it returned to Valladolid when the royal court moved to Madrid. The Audiencia thereafter remained in Valladolid until 1834, when it was abolished. Palacio de los Viveros The official residence of the Audiencia was the Palace of the Viveros. This was originally constructed in the mid-fifteenth century as a fortified palace for Alonso Pérez de Vivero, Contador mayor ("chief treasurer") of John II. In one of its great halls, the Sala Rica, the Catholic Monarchs, Isabella and Ferdinand, were married on October 19, 1469. Their marriage united the Crowns of Aragon and Castile. When it was the property of the Viveros, the palace had towers, a wall, a moat and a keep. These were torn down on the orders of the Catholic Monarchs in 1475 to avoid their use in a rebellion against the monarchy. When the Vivero family lost possession of the palace, the Crown adapted it for the Chancellería and carried out other renovations including the central cloister. See also Audiencia 1371 establishments in Europe 1834 disestablishments in Spain Legal history of Spain Valladolid Real Audiencias 14th-century establishments in Castile Bien de Interés Cultural landmarks in the Province of Valladolid