Before Gideon v. Wainwright (1963), Gideon was a criminal, who was too poor to hire a lawyer. Gideon was sentenced to jail, but he appealed to the Supreme Court. The Supreme Court ruled contrary to the Florida court (which ruled that only ones who can pay for a lawyer can have one), that everybody was to be given a lawyer no matter if they can pay or not.
hope this helps