pedant (n.)
1580s, "schoolmaster," from Middle French pédant (1560s) or directly from Italian pedante, literally "teacher, schoolmaster," of uncertain origin, apparently an alteration of Late Latin paedagogantem (nominative paedagogans), present participle of paedagogare (see pedagogue). Meaning "person who trumpets minor points of learning" first recorded 1590s.