The building is part of an ancient castle of the fifteenth century that the two towers are maintained and was transformed into a palace in the seventeenth century by the house of Altamira resulting in the appearance it has today.