Not a substitute for an attorney. OpenCourt is not a substitute for the advice of an attorney. It provides general legal information, not legal advice. Not an official source. This is a copy kept by OpenCourt, which may be out of date or incomplete. Rely only on the official source linked on each page.
CCP 1004
Except as provided in section 166 of this code, motions must be made in the court in which the action is pending.