Perry Mason is an American fictional character, a criminal defense lawyer who is the main character in works of detective fiction written by Erle Stanley Gardner. Perry Mason features in more than 80 novels and short stories, most of which involve a client's murder trial. Typically, Mason establishes his client's innocence (rather than a verdict of 'not guilty') by implicating another character, who then confesses.