The arrival of the Normans in 1066 led to the destruction of much of Anglo-Saxon Norwich. After Ralph de Gael rebelled against the king, a large part of the town was burned by the Normans in retribution. They then started to develop Norwich into a prosperous international port and a centre of Norman power. Norwich Castle was built by 1075. It was of a motte and bailey type and was rebuilt in stone before 1200. Work on the cathedral precinct started in 1096. Within it was built a cathedral church, a fortified bishop's palace and other monastic buildings. The formation of the precinct turned a large part of the town into an unpopulated area of quarry pits and building yards.