It was built by the order of a king of Naples. In the style of a typical French castle, there is a triumphal arch commemorating the entry of Afonso 1, carved with reliefs praising his family, known as a masterpiece of the Gothic to Renaissance transition.