doctor (Middle English) comes from Anglo-Norman doctour, from Latin doctor, from Latin -tor, from Proto-Italic -tōr, from Proto-Indo-European -tōr, from Proto-Indo-European -tor-s.
doctor (Middle English): an expert, authority on a subject