From the reign of Edward the Confessor in the 11th century the Palace of Westminster was the principal royal residence. Much of it was destroyed by fire during the 16th century and Henry VIII set up home nearby at Whitehall Palace (which in turn was destroyed by fire nearly 200 years later). Yet there are still some parts of the medieval Palace of Westminster that survive. The most significant section is the large 14th century Westminster Hall, now incorporated within the Houses of Parliament and used for major ceremonial occasions. (Check for visiting times). Another is this small Jewel Tower. It was built in 1365 as the treasure house of King Edward III, where his robes and jewels were safely stored. The medieval palace extended much further than the present Palace of Westminster building and was surrounded by a high wall. The Jewel Tower stood in the south-west corner of the palace complex, incorporated into the wall.