McKinley County District Attorney Bernadine Martin resigned Wednesday, less than a week ahead of her scheduled showdown with state Attorney General Raúl Torrez before the New Mexico Supreme Court.