California, United States of America
The following excerpt is from People v. Mendez, F070734 (Cal. App. 2016):
3. Although both trial courts and appellate courts have jurisdiction over habeas corpus petitions, reviewing courts have discretion to deny without prejudice a habeas corpus petition not filed first in the proper lower court. (People v. Seijas (2005) 36 Cal.4th 291, 307; People v. Crockett (2008) 159 Cal.App.4th 751, 757.) Should defendant seek to pursue a petition for habeas corpus, he should initially pursue it in the proper trial court.
The above passage should not be considered legal advice. Reliable answers to complex legal questions require comprehensive research memos. To learn more visit www.alexi.com.