One skilled in the law.
A writer on law, a legislator, a lawmaker
An unscrupulous or unethical lawyer, especially one of lesser skill.
Someone who quibbles over trivia, and raises petty, annoying objections and sophistry.