Betts filed a writ of habeas corpus with a Maryland appeals court. A writ of habeas corpus asks to be set free from unfair imprisonment. Betts argued that his imprisonment was unfair because he had not been given a lawyer. His petition was denied.