 By the 20th century, the majority of the castle was in ruins.The castle is classified as National Monument by Decree published on 20 March 1945.The Portuguese national government intervened between 1977 and 1978 by initiating works of reconstruction and reparation of the walls and the Keep.