What does "schoolmaster" mean?

Schoolmaster: One who, or that which, disciplines and directs. The law was our schoolmaster, to bring us into Christ. Gal. iii. 24.

Sources