ref
mid 17th century: from medieval Latin doctoratus ‘made a doctor’.
doctorate (n.)
"the degree of a doctor," 1670s; see doctor (n.) + -ate (1).