A chancery was a department of the royal household responsible for writing official documents, maintaining records, and handling diplomatic correspondence. The term evolved to refer to the office where these duties were performed. It was not a closet, musical instrument, or architectural feature.