Diplomatics
The discipline originally evolved as a tool for studying and determining the authenticity of the official charters and diplomas issued by royal and papal chanceries. It was later found that many of the same underlying principles could be applied to other types of official document and legal instrument, to non-official documents such as private letters, and, most recently, to the metadata of electronic records.