Medieval castle constructed by the Knights of Saint John