castle
a large building formerly occupied by a ruler and fortified against attack