In the 14th century, Pedro I the Cruel decided to rebuild the palace in the Mudejar style, thanks to which refers to the Arab heritage. Many Arabic inscriptions praising Allah remain on the walls.