1387, "schoolmaster, teacher," from O.Fr. pedagogue "teacher of children," from L. paedagogus "slave who escorted children to school and generally supervised them," later "a teacher," from Gk. paidagogos, from pais (gen. paidos) "child" (see pedo-) + agogos "leader," from agein "to lead" (see act). Hostile implications in the word are at least from the time of Pepys. Pedagogy is 1583 from M.Fr. pédagogie, from Gk. paidagogia "education, attendance on children," from paidagogos "teacher."