The work was started in 1090 but most of the walls appear to have been rebuilt in the 12th century .
The work was started in 1090 by Raymond of Burgundy . Most of the walls appear to have been rebuilt in the 12th century .