From Sanskrit आचार्य (ācārya, “one who is learned in conduct”), from आचार (ācāra, “rules, conduct”).
Acharya