 The administration and archives of the kingdom travelled wherever the king went.Robert the Pious, who ruled from 996 to 1031, stayed in Paris more often than his predecessors.He rebuilt the old castle, making it a walled rectangle 110 by 135 meters in size, with numerous towers and massive central tower, or "donjon", and added a chapel named for Saint Nicholas.