The construction of this building was initiated by Alfonso Pérez de Vivero, who served under John II of Castile. The palace was the site of major events, such as the marriage of Isabella of Castile and Ferdinand of Aragon. Later, around 1490, the Audiencia and Chancillería were established there following the sale of the residence by the Catholic Monarchs. During the reign of Charles V, renovations were carried out on the complex, the most significant of which took place in 1530, when part of the coffered ceiling in the main hall was replaced (Zalama, 1993). The carpenter Pedro de Salamanca is cited in the records as the master craftsman overseeing the work, although he was not the only one involved.