When I was in college, a friend was brought up on charges of drug possession with the intent to sell. The court found him guilty and he was sentenced to a lengthy jail term. In the initial case, my friend had been given a court appointed attorney that he felt had not defended him well in the case. He wanted to take his case back to court with another attorney.
Before getting a letter to appeal charges for his case, my friend decided that he would consult a company that provided legal research so that he could show why his case should be taken back to court. He was able to show several problems with the initial case in the letter so that he could quickly get his case moved into an appellate court where he could obtain a second chance.