¶6 "(a) When the person is confined in a county jail or any other place on a charge of felony or under a commitment or an indictment for felony, the petition for a writ of habeas corpus must be addressed to the nearest circuit court judge.
¶7 "(b) When the person is confined in the penitentiary or under a sentence, judgment or order of the supreme court or the circuit court, other than an indictment for felony, the petition must be addressed to the nearest circuit court judge.
¶8 "(c) In all other cases, it may be addressed to any one of them, and when the person is confined in any other place than the county jail or the penitentiary and on any other than a criminal charge, it may be addressed to any circuit court judge."
¶9We first address whether § 15-21-6, Ala. Code 1975, imposes a jurisdictional requirement or a venue limitation. "Jurisdiction is `[a] court's power to decide a case or issue a decree.' . . . In deciding whether [a petitioner's] claim properly *912 challenges the trial court's subject-matter jurisdiction, we ask only whether the trial court had the [requisite] constitutional and statutory authority. . . ." Ex parteSeymour, 946 So.2d 536 (Ala. 2006). Venue, in contrast, addresses "[t]he county or other territory over which a trial court has jurisdiction." Black's Law Dictionary 1591 (8th ed.2004). All Alabama trial court judges have the power to issue writs of habeas corpus. Ex parte State ex rel.Shirley, 20 Ala.App. 473, 475, 103 So. 68, 69 (1925)("While it is undoubtedly true that, when a party is confined in jail under a criminal charge, a petition for habeas corpus must be addressed to the nearest circuit court judge or to the probate judge of the county (Code 1923, § 4310), all circuit judges within the state have the power to issue writs of habeas corpus."). Thus, § 15-21-6, Ala. Code 1975, implicates not jurisdiction, but venue.
¶10Venue can be waived, and any objection to improper venue is waived if not timely raised. See Rule 12(h)(1), Ala. R. Civ. P. ("A defense of . . . improper venue . . . is waived (A) if omitted from a motion in the circumstances described in subdivision (g), or (B) if it is neither made by motion under this rule nor included in a responsive pleading or an amendment thereof permitted by Rule 15(a)[, Ala. R. Civ. P.,] to be made as a matter of course."). In this case, the Court of Criminal Appeals' order denying rehearing notes that the trial court "denied the petition on the ground that venue was improper"; however, Culbreth's petition to this Court alleges that the State "never responded" in the trial court, and the State has not denied the allegation that it did not file an answer or other response in the trial court. Because there is an allegation that the State did not object to venue in the Montgomery Circuit Court and there is no indication before us to the contrary, any such objection the State might have to venue in the Montgomery Circuit Court has been waived.
¶11Because § 15-21-6 limits venue, and not a circuit court's jurisdiction, the circuit court had the power to rule on the merits of Culbreth's petition, and the Court of Criminal Appeals erred in dismissing Culbreth's appeal on jurisdictional grounds. Moreover, any objection based on improper venue apparently has been waived. We therefore remand this case to the Court of Criminal Appeals for further proceedings consistent with this opinion.
¶12REVERSED AND REMANDED.
¶13NABERS, C.J., and LYONS, HARWOOD, WOODALL, STUART, SMITH, BOLIN, and PARKER, JJ., concur.