An attorney must pass the bar test before they are allowed to practise law in a certain jurisdiction. Attorneys can practise in both civil and criminal courts and, like lawyers, are bound by an ethical code.