barrister (n.)
1540s, "a student of law who has been called to the bar," from bar (n.3) in the legal sense + -ster. Also see attorney. The second element is obscure.