Criminal defendants or their defense lawyers can bring a Penal Code 991 motion. To be eligible, all of the following must be true: The defendant is being charged with a misdemeanor crime, The defendant has been held in custody up until the arraignment, and The defendant has pleaded not guilty.