Most liberal democracies consider that it is necessary to provide some level of legal aid to persons otherwise unable to afford legal representation. To fail to do so would deprive such persons of access to the court system. Alternately, they would be at a disadvantage in situations in which the state or a wealthy individual took them to court. This would violate the principles of equality before the law and due process under the rule of law.