Motion to dismiss (demur) template
There are two standard templates, state and federal. The state templates are written to include both civil and criminal elements. The grounds of the motions (demurrer in California, Kentucky) are no valid case/controversy, a lack of standing and no corpus delecti. While the motion was written for Arizona, there are equivalents listed for every "state" in the cross-reference and I have most "states" crossed-over so make sure you provide an address so I can get you the right template.