In California state criminal procedure, a motion to dismiss pursuant to Penal Code Section 995 gives the defendant the option of moving a trial court to dismiss their criminal case following a preliminary hearing at which the defendant was held to answer on one or more criminal charges.